Your Open Source

 
Related Links
QA  >>  Web Development  >>  Visual Basic

Visual Basic

rowset is not bookmarkable in vb

how to solve the error "rowset is not bookmarkable" in datagrid or recordset?

Check the following VB code to solve the issues.

Dim rs As ADODB.Recordset
Set rs = New ADODB.Recordset
str = "select * from route"
rs.CursorLocation = adUseClient
rs.Open str, con, adOpenDynamic, adLockOptimistic
Set DataGrid1.DataSource = rs

  • hits 50
  • datetime Feb 08 10 02:50:32
  • author Sekar
  • rating

Rating : 12345

Comments

No Reply..

Quick Reply or Comments

Preview
Your Name:
Your Reply :
<> is a code tag
Enter the verification code: