Hi Ankur,
Base on my understanding, you want to change the value of column sID. There are two ways:
1. If you want to use sqlCommant to update the DataSource, use the following:
"update test01 set sid = 2 ";
2. If you change the value (set the cells of the sID column to 2 manually) in the DataGridView, and save the changes, you can try the following code to update the changes to the DataBase:
.test01TableAdapter.Update(factoryDataSet3);
If I misunderstood you, or you have other questions, please feel free to tell me.
Best regards,
Ling Wang
Please remember to click “Mark as Answer�on the post that helps you, and to click “Unmark as Answer�if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.