datagrid in vb 6.0
Visual Basic
1
Posts
1
Posters
0
Views
1
Watching
-
Hi I want to connect the datagrid with access programically . I mean i want to fill the datagrid with data at run time. I am using oledb I am using the following code Set rs = New ADODB.Recordset rs.Open sql, con, adOpenStatic, adLockBatchOptimistic, adCmdText Set dg1.DataSource = rs dg1.Refresh Can somebody please send me any link or code? Please help me Thank You Pankaj Garg -- modified at 7:39 Tuesday 2nd May, 2006