3
Answers

Object reference not set to an instance of an object err

Consider the following code.

private DataSetNumber1.TBL_AppointmentRow _selectedAppointmentRow = null ; private DatasetNumber1.TBL_EngineerRow _selectedEngineerRow = null;  public myEditSchedulerDialog () {  initializeComponent (); _selectedAppointmentRow = new DataSetNumber1.TBL_AppointmentRow (null);  }

I keep getting a object reference not set to an instance of an object error.


Any help would be appreciated.

regards



Answers (3)