Forum: Visual Basic 4 / 5 / 6 Dec 31st, 2008 |
| Replies: 13 Views: 2,186 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 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 is the con.open is your connection? |
Forum: Visual Basic 4 / 5 / 6 Dec 30th, 2008 |
| Replies: 13 Views: 2,186 try to use this
rs.open "command to select the table"
set datagrid.datasource = rs
regards
Ryan Riel |