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!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top