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