Can someone point me to a good referance?? i think i am just not looking for the right stuff.
Private Sub lstUserName_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles lstUserName.SelectedIndexChanged Dim selectrow As DataRow Try If _loaded = 1 Then selectrow = Ds.User.Select("UserID = " & CInt(lstUserName.SelectedValue))(0) cbAccessLevel.SelectedValue = selectrow.Item("Column") '--This is where it blows up MessageBox.Show(selectrow.Item("Column").ToString) End If Catch ex As Exception MsgBox(ex.Message) MsgBox(lstUser.SelectedIndex.ToString + " and " + lstUserName.SelectedIndex.ToString) End Try End Sub
Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.
”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.