Update table in database through datagridview in winform

May 10 2006 3:05 AM
Hi All,

I want to update table at backend in database through making changes in datagridview in winform.

What I want is, when User makes changes in datagridview and clicks save or update button the changes which are made in datagridview should get reflect in table in databse.

For Ex:

I am having "Datagridview", "Edit" and "Save" button on WinForm and table "EmpDetails" at backend in databse. I am filling "Datagridview" with table "EmpDetails". When user clicked "Edit" button he should allowed to make changes in "Datagridview". After making changes in "Datagridview" when user clicked "Save" button, whichever changes made in datagridview should get reflect at backend in table "EmpDetails".

Thanks & regards,

Swapnil.