I have data that I am loading from an SQLite DB.
If I click on the header to sort, I get an Object not set to instance error.
I used the below code to try and catch the null error, but it still keeps generating the error.
What am I doing wrong??
I also would like to sort the datagrid too after clicking the column heading.
Thanks in advance
If I click on the header to sort, I get an Object not set to instance error.
I used the below code to try and catch the null error, but it still keeps generating the error.
What am I doing wrong??
I also would like to sort the datagrid too after clicking the column heading.
Code:
Try
Dim row As Integer = dgrid1.CurrentRow.Index
Catch
Exit Sub
Finally
'continue on
End Try