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.

thx.

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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.