Click here to Skip to main content
15,885,366 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Hello there,
I have worked with "per.accdb" database file with table name as "person1".
Firstly i have retrieve all records from table using query:
SQL
select * from person1 where surname='shinde'

and after retriving i have filled dataset object as follows:
VB
data_adp.fill(ds,"person1")

after filling dataset i have show the records it into gridview.

After that i have delete the all the from database which i have tied to gridview the records deleted from database temporarily present in gridview at runtime. Now i want to save the records present in gridview to writeback to new access database file.
For that what i can do, please give me proper solution for this, with code if possible.
Posted
Updated 16-Jun-12 23:03pm
v2

1 solution

i think you should try this in your code


DataTable DtTbl = Grd.DataSource as DataTable;
 
Share this answer
 
v2
Comments
sham bhand 17-Jun-12 6:41am    
How it can be used please elaborate??

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900