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
elhadfi elhadiPosted Jun 8, 2006, 11:40 AM
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]
Swapnil PalandePosted Jun 1, 2006, 5:23 AM
Thanks
kal kPosted May 30, 2006, 2:11 PM
OleDbCommandBuilder
cb = new OleDbCommandBuilder(da);da.Update(ds,
"dept"); MessageBox.Show("updated");panPosted May 20, 2006, 5:18 AM