Why do I get “No data exists for the row/column” error when I do have data?
问题 What's meant to happen is that when the a row is double clicked on the database the program should pull the data out of that row and fill it in the text boxes. This is the code I have so far, when double clicking a row I get "No data exists for the row/column". Thanks, Private Sub dtg_Email_DoubleClick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles dtg_Email.DoubleClick Dim conn As New OleDbConnection Dim cmd As New OleDbCommand Dim dr As OleDbDataReader Try conn = New