Hi jasonp45!
If you're using the standard DBGrid control, you will find that the 'intrinsic data control' - the one that appears when you open a standard project - can be bound to the Grid. Obviously the data control should be on the form so it will appear as an option in the dropdown under DATASOURCE. Ado (OLEDB) controls will not work with DBGrid.
Hope this helps
Regards - Micash
dim rs As New ADODB.Recordset
Set rs.ActiveConnection = (u know here)
rs.Open " Select * from Custommers" 'Better don't do this
set myGrid.DataSource = rs
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.