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.
Loading

pan2 reputationPosted May 20, 2006, 1:18 AM EDT
kal k9 reputationPosted May 30, 2006, 10:11 AM EDT
OleDbCommandBuilder
cb = new OleDbCommandBuilder(da);da.Update(ds,
"dept"); MessageBox.Show("updated");Swapnil Palande23 reputationPosted Jun 1, 2006, 1:23 AM EDT
Thanks
elhadfi elhadi2 reputationPosted Jun 8, 2006, 7:40 AM EDT
i'm exactly want de same thing to implemante im application : to modify the table in the datbase and seeing the modif before in datagrid.
user can add , update and delete rows in datagrid by using textfield.
please can you send me the source code of your exemple
thinks
my my email : [email protected]