How to bind Data bound Grid with ADORecordset? 
Author Message
 How to bind Data bound Grid with ADORecordset?

Hi
My query is that
I am having a problem in binding ADO Recordset with Data Bound Grid Control.
i am using SetDataSource()
but it isn't working.

please suggest me

Thanks
Saurabh



Tue, 24 Aug 2004 01:55:35 GMT  
 How to bind Data bound Grid with ADORecordset?
Hi Saurabh,

What error did you encounter? Try to set the CursorLocation property to
adUseClient before opening the recordset to check.

Here are some articles for your reference:
Q278408 PRB: DataGrid Cannot Be Bound to a Non-Bookmarkable Recordset
http://support.microsoft.com/support/kb/articles/q278/4/08.asp

Q224192 PRB: DataGrid Not Populated Using Jet.OLEDB.4.0 Provider and ADO
http://support.microsoft.com/support/kb/articles/q224/1/92.asp

Q229029 SAMPLE: AdoDataGrid.exe Demonstrates Using ADO with DataGrid
http://support.microsoft.com/support/kb/articles/q229/0/29.asp

Q190371 HOWTO: Use Bound Controls with an ADO Recordset
http://support.microsoft.com/support/kb/articles/q190/3/71.asp

In case the problem still exists, could you post some code to illustrate
the problem?

This posting is provided "AS IS" with no warranties, and confers no rights.

Regards,

Bill Cheng
Microsoft Support Engineer



Thu, 26 Aug 2004 16:54:46 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. data binding : Binding custom business objects to datagrids

2. How to bind ADO data bound controls in Visual C++

3. Binding parts of a BindableArrayList object to a data grid

4. Dynamic bind a database with a remote data control and a grid control

5. Dynamic bind a database with an remote data control and an grid control

6. data bound grid control

7. Non-data bound grid ctrl?

8. Early binding vs late binding

9. RPC services without binding to RPC Bind/PortMap?

10. early binding and late binding in ATL

11. Late Binding and Early Binding

12. How to Binding the Later binding Controls's event

 

 
Powered by phpBB® Forum Software