Hi,
is there any thing wrong with this code..? when i click next 2 times it blows out with error " there is no row at position 2" can you help me what is wrong with this..?
THanks,
If objDS.Tables(0).Rows.Count > Session("CurrentIndex") Then
Session("CurrentIndex") = Session("CurrentIndex") + 1
End If
objDataRow = objDS.Tables(0).Rows(Session("CurrentIndex"))
is there any thing wrong with this code..? when i click next 2 times it blows out with error " there is no row at position 2" can you help me what is wrong with this..?
THanks,
If objDS.Tables(0).Rows.Count > Session("CurrentIndex") Then
Session("CurrentIndex") = Session("CurrentIndex") + 1
End If
objDataRow = objDS.Tables(0).Rows(Session("CurrentIndex"))