Click to See Complete Forum and Search --> : datagrid object


GeraldB13
October 25th, 1999, 12:08 PM
Within Visual Basic code, how do I set the DataSource property of a datagrid control to a recordset that has already been created?

Andrew
October 25th, 1999, 06:27 PM
I've not worked with DGOs much but if they are like other data bound controls then you would set the source at run time like this:


set DataGrid1.DataSource = DataSource1




Let me know if that works or not.

Chao

Andrew