I must correct a bug in a code which is not mine. The goal is to set the same selected row after Refresh button (see "gridrefresh()" subroutine). I have no time to re-write all the code. The refresh button have the following code. I saved the index of the
selected row (see DataGridView1_SelectionChanged subroutin), but I cannot set it. Which is the right method? Please help me.
Private Sub gridrefresh()
Dim cotest As New DLL_DB_RD.CO_TEST
Dim sotest As New DLL_DB_RD.SO_TEST
Dim errormessage As String
Dim colonna As New System.Windows.Forms.DataGridViewTextBoxColumn
errormessage = ""
alTests = New ArrayList
If Not sotest.GetTESTListAL(alTests, errormessage) Then
View Complete Post