|
-
May 10th, 2001, 09:18 PM
#1
Data grid and Ado
Hi! I used an datagrid bound to an ado created run time. Whenever I set the the datasource of the grid run time, I encounter an error "The rowset is not bookmarkable." Hope you can help me. Posted below is my vb code. Thanks.
Dim rstTemp as ADODB.Recorset, strTemp as string
set rstTemp = new ADODB.Recorset
strTemp = MySQL
rstTemp.Open strTemp, conn
If rstTemp.BOF = true And rstTemp.EOF = true then
else
set dgdTemp.DataSource = rstTemp ' --- This is where the error occurs
End If
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|