hello respected developers.

i am using datagrid for my medical clinic application.

i want to save data from the datagrid to the datatable, and then save it to the appropriate table in the database.

plz help me in this aspect.


You need to configure dataAdapter object. Fill() method of dataadapter will retrieve data where as Update() method of dataadapter will write back changes to the database.