suhas setty

suhas setty

  • NA
  • 128
  • 52.1k

Null Object reference not set to an instance of an object

Jul 10 2013 5:56 AM
            Invoiceget data = new Invoiceget();
            

            data.slno = DataGridView1.CurrentRow.Cells["Column1"].Value.ToString();

its showing the correct slno if i move mouse over data.slno
and mean time i am getting  Null Object reference not set to an instance of an object

Answers (3)