Click to See Complete Forum and Search --> : How to bind a Recordset with a DataGrid control


young2
January 24th, 2005, 02:40 PM
I am working on Visual studioVC++.net. I could not find a way to bind a Recordset with a Datagrid control 6.0

CRecordse *m_pRs;

CDataGrid m_dataGrid;
I saw something like

m_datagrid.SetRefDataSource(m_pRs);

but in my project I could not find the SetRefDataSource() function. How to do that