A datagrid control, suprisingly, doesn't contain any data. It is just a window into its recordsource which may be a data control or a recordset (ADO only).
You can loop through the data control's recordset (or the recordset that's the recordsource for the grid) and run INSERT INTO statements to populate your table.
Alternatively, you can run an INSERT INTO using the same SQL that you used to populate the recordsource recordset.
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.