Pelumi Eluyera

Pelumi Eluyera

  • NA
  • 24
  • 5.7k

Object reference not set to an instance of an object err

Mar 23 2015 10:15 AM
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)