N
Nick Sedrak
Coould somebody help me to understand this error
Thanks
Line 55: //adptEmployees.Fill(dsEmployees, "Employees_Table");
Line 56: // Fill the Contacts data set.
Line 57: adptOrders.Fill(dsOrders1);
Line 58: // Bind to data -- populates the drpContactTypes and drpState
lists.
Line 59: //drpEmployees.DataBind();
Source File: c:\inetpub\wwwroot\contactmanagement\addcontacts.aspx.cs
Line: 57
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an
object.]
ContactManagement.AddContacts.Page_Load(Object sender, EventArgs e) in
c:\inetpub\wwwroot\contactmanagement\addcontacts.aspx.cs:57
System.Web.UI.Control.OnLoad(EventArgs e)
System.Web.UI.Control.LoadRecursive()
System.Web.UI.Page.ProcessRequestMain()
Thanks
Line 55: //adptEmployees.Fill(dsEmployees, "Employees_Table");
Line 56: // Fill the Contacts data set.
Line 57: adptOrders.Fill(dsOrders1);
Line 58: // Bind to data -- populates the drpContactTypes and drpState
lists.
Line 59: //drpEmployees.DataBind();
Source File: c:\inetpub\wwwroot\contactmanagement\addcontacts.aspx.cs
Line: 57
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an
object.]
ContactManagement.AddContacts.Page_Load(Object sender, EventArgs e) in
c:\inetpub\wwwroot\contactmanagement\addcontacts.aspx.cs:57
System.Web.UI.Control.OnLoad(EventArgs e)
System.Web.UI.Control.LoadRecursive()
System.Web.UI.Page.ProcessRequestMain()