I am using the following statement in my vb6 code:
Set DataGrid1.DataSource = rs
How am I supposed to use this statement in vb10?
Printable View
I am using the following statement in my vb6 code:
Set DataGrid1.DataSource = rs
How am I supposed to use this statement in vb10?
Thread moved to the VB.Net forum.
It's basically the same except you don't use the Set keyword. You'll be using a DataGridView and a DataTable but it's still a matter of setting the control's DataSource property.