Search Results

Showing results 1 to 4 of 4
Search took 0.01 seconds.
Search: Posts Made By: ryan311
Forum: Visual Basic 4 / 5 / 6 Dec 31st, 2008
Replies: 13
Views: 2,186
Posted By ryan311
you should set your rs if your using adodb u can use this

set rs = new adodb.recordset
rs.open "select * from <tablename>", dbConStr, adOpenDynamic, adLockOptimistic
set DataGrid.DataSource=rs
...
Forum: Visual Basic 4 / 5 / 6 Dec 31st, 2008
Replies: 13
Views: 2,186
Posted By ryan311
try this:

rs.open "select * from <tablename>", dbConStr, adOpenDynamic, adLockOptimistic
set DataGrid.DataSource=rs

regards
ryan riel
Forum: Visual Basic 4 / 5 / 6 Dec 31st, 2008
Replies: 13
Views: 2,186
Posted By ryan311
Forum: Visual Basic 4 / 5 / 6 Dec 30th, 2008
Replies: 13
Views: 2,186
Posted By ryan311
try to use this


rs.open "command to select the table"
set datagrid.datasource = rs

regards
Ryan Riel
Showing results 1 to 4 of 4

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC