in vb6 i have this working:
VB Code:
rsvar.Open "select * from clients", cn, adOpenKeyset, adLockOptimistic For Each Control In cad_clientes.Controls If TypeOf Control Is TextBox Then Set Control.DataSource = rsvar End If Next Control
how can i do the same thing in VB.Net??
Thank you,
Guilherme




Reply With Quote