I want to use similar code in my RADGRID.
How to use it in RADGRID, since radgrid dont have some methods which was mention in my code.
Private Sub save__details()
Dim S As Integer
For S = 0 To datagridgridview1.RowCount - 1
If CStr(datagridgridview1.Item(0, S).Value()) <> "" Then
'payment details
updateRecord("insert into table1 (code)" & _
" values('" & CStr(datagridgridview1.Item(0, S).Value()) & "' )")
End If
Next
'loop all the record until end using next.
End Sub
How to use it in RADGRID, since radgrid dont have some methods which was mention in my code.
Private Sub save__details()
Dim S As Integer
For S = 0 To datagridgridview1.RowCount - 1
If CStr(datagridgridview1.Item(0, S).Value()) <> "" Then
'payment details
updateRecord("insert into table1 (code)" & _
" values('" & CStr(datagridgridview1.Item(0, S).Value()) & "' )")
End If
Next
'loop all the record until end using next.
End Sub