I want to upadte database using datagridview in c#. I have only one datagridview. There are two tables(TableA, TableB) in the database, I have to load TableA from database and bind it to datagridview and any changes made to this gridview should be saved to the TableB. I am not getting how to deal with it. I have tried it by taking two different datasets, dataadapter, and required parameters but none helped.
Please help me out.