Posted on: 9/3/2013 4:46:28 AM | Views : 617

Hi guys, thank very much for your time.
I have this code for gridview paging and work perfect only when the user selected some row in the first page... but when the user don't check any row in first page and trying to go to page 2 or page 3 without check any row in the first page, the aplication present a error.
The error is in ******
_____________________________________________________________________________________________________________________________________________________________________________
Private Sub BindData() GridView1.DataSourceID = Nothing Dim myConnection As New SqlConnection(SDSPedidos.ConnectionString) Dim ad As New SqlDataAdapter(QUERY_SELECT_ALL_CATEGORIES, myConnection) Dim ds As New DataSet() ad.Fill(ds, "Pedido") GridView1.DataSource = ds GridView1.DataBind() End Sub
Private Sub RememberOldValues() Dim PedidoList As New ArrayList() Dim index As Integer ...

Go to the complete details ...