Click to See Complete Forum and Search --> : Grids vs Recorsets


July 20th, 2000, 03:13 AM
Hi all, I need to use a Grid control and I want to avoid use a Adodc control, someone knows how I can connect a recorset directly
to a grid?

Thanks for your time,

Regards,

Persi

Iouri
July 21st, 2000, 08:25 AM
Try

Datagrid1.Recordsource = rs

Iouri Boutchkine
iboutchkine@hotmail.com

yi_a
July 21st, 2000, 09:59 AM
test

July 21st, 2000, 11:24 AM
You can get back the result in a safearray and use the safe array and variants to populate your grid.Once again it depends if u are using ADO with COM then this works especially for ATL COM