here i've got problem with datagrid....as i was not solving using datacontrol but using a recordset actually i've two datagrid n just to display from the click event of lstPupils so this error somes....as code is stated as below...

VB Code:
  1. Private Sub lstPupil_Click()
  2.     Dim intID As Integer
  3.    
  4.    Call data_connection
  5.    
  6.     intID = CInt(lstPupil.ItemData(lstPupil.ListIndex))
  7.    
  8.     strSQL = "SELECT Description FROM tblCompetency WHERE Code NOT IN(SELECT Code FROM tblPass WHERE ID= " & CStr(intID) & ")"
  9.    
  10.     Set rsCom1 = gconn.Execute(strSQL)
  11.     'rsCom.Open strSQL, gconn, adOpenKeyset, adLockOptimistic, adCmdText
  12.    
  13.     Set DataGrid1.DataSource = rsCom1  Error here...[COLOR=Red]The rowset is not bookmarkable
  14.     [/COLOR]
  15.    
  16.     strSQL = "SELECT Description FROM tblCompetency WHERE Code IN(SELECT Code FROM tblPass WHERE ID=" & CStr(intID) & ")"
  17.    
  18.     Set rsCom2 = gconn.Execute(strSQL)
  19.    
  20.     Set Me.DataGrid2.DataSource = rsCom2
  21.    
  22.    
  23.    
  24. End Sub
]

wat is there so plezz do help me