Click here to Skip to main content
15,884,472 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi all,

Please help me in solving following query:

I want to update table at backend in sql database when making changes in datagridview cells current data.

What I want is, when User makes changes in datagridview cells by editing the specific cell than the changes which are made should get reflect in table in database.

For ex:
I am having Datagridview on WinForm and table EmpDetails at backend in databse. I am filling Datagridview with table EmpDetails". When user click a cell and After making changes in Datagridview cell whatever changes made in datagridview should get reflect at backend in table EmpDetails..

is there any way to do this as i am beginner here ...thanks
Posted

1 solution

As you're a beginner, trying to do real world tasks without learning to program first, probably being paid for it, the fact is that you're going to struggle with ever being a programmer, b/c you're too busy trying to finish your job, to ever actually learn. Certainly a copy/paste solution as you're seeking from this forum, does not help you long term. The site has TONS of articles on stuff like this, you should take the time to read some. Here is one.

Insert, Update, Delete in ASP.NET Gridview, DataSource as SQL Server, MS Access (mdb/accdb), XML and Framework as 2.0 / 3.0 / 3.5 / 4.0 (VS 2005/2008/2010)[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900