G
Guest
I am getting the following error:
Exception Details: System.NullReferenceException: Object reference not set
to an instance of an object.
Source Error:
Line 192:
Line 193: Private Sub btnDeleteUser_Click(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles btnDeleteUser.Click
Line 194:
DsUsers1.Tables("UserAuth").Rows.Find(ddlUsers.SelectedItem.Value).Delete()
Line 195: SqlDataAdapter1.Update(DsUsers1, "UserAuth")
Line 196: End Sub
I have stepped through the code and determined that there is not a null
value in the drop down list. Any help would be appreciated.
Exception Details: System.NullReferenceException: Object reference not set
to an instance of an object.
Source Error:
Line 192:
Line 193: Private Sub btnDeleteUser_Click(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles btnDeleteUser.Click
Line 194:
DsUsers1.Tables("UserAuth").Rows.Find(ddlUsers.SelectedItem.Value).Delete()
Line 195: SqlDataAdapter1.Update(DsUsers1, "UserAuth")
Line 196: End Sub
I have stepped through the code and determined that there is not a null
value in the drop down list. Any help would be appreciated.