Dear Friends,

How can we show the records in the textboxes in VS2008? I used the following code in VB6 to perform this action:

Code:
Public Sub Show_Record()
If Not (rs.BOF Or rs.EOF) = True Then
txtSNO = rs(0) & ""
txtPRN = rs(1) & ""
txtPRL = rs(2) & ""
txtDESC = rs(3) & ""
End If
End Sub