Object reference not set to an instance of an object

  • Thread starter Thread starter Cal1ga
  • Start date Start date
C

Cal1ga

getting "Object reference not set to an instance of an object."
from a web app. here's the code snippet


if (dsVendorNames1.Vendors.Rows.Count > 0)
{
this.ShowVendor(ddlVendors.SelectedItem.Value);
}

please tell me what's wrong,

a c# newbie!
 
Back
Top