Hoang,
Foxpro's grid cannot bind to an ADO recordset. We use SharpGrid which is a third party ActiveX grid from Data Dynamics. It's a very powerful grid and we have been using it for a number of years.
http://www.datadynamics.com/Products/ProductOverview.aspx?Product=SGHope this helps,
Kurt
>I can connect to SQL Server by ADO Connection
>When I have a recordset, and I want to show it on a grid.What can I do?
>I have tried these code:
>
> Grid.ControlSource = "O_recordset"
> Grid.Refresh
>
>But nothing happens