Hi
I created a datagridview in windows forms linked to a table in sql server. by dragging it from the Toolbox. I have no code. The options 'Enable adding, editing and deleting are set.
Now, I can see the rows in the datagridview. I also can edit, delete or add a row. But when i close the form and i run the application again, nothing is changed in the table. How can i save the changes in sql server (adding, editing, deleting) i made before?
Thanks
V.

Sachin SinghRank #66 · 26.2K reputationPosted Apr 3, 2022, 12:00 PM EDT
Muhammad Imran AnsariRank #326 · 7.6K reputationPosted Apr 3, 2022, 10:53 PM EDT
Gajendra JangidRank #157 · 14.9K reputationPosted Apr 3, 2022, 10:54 PM EDT
Valerie MeunierRank #1,527 · 1K reputationPosted Apr 3, 2022, 12:50 PM EDT
Sachin SinghRank #66 · 26.2K reputationPosted Apr 3, 2022, 1:49 PM EDT
Valerie MeunierRank #1,527 · 1K reputationPosted Apr 3, 2022, 5:07 PM EDT
Valerie MeunierRank #1,527 · 1K reputationPosted Apr 4, 2022, 5:04 AM EDT
Sachin SinghRank #66 · 26.2K reputationPosted Apr 4, 2022, 6:26 AM EDT