Click here to Skip to main content
13,143,774 members (32,093 online)
Rate this:
Please Sign up or sign in to vote.
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 18-Nov-12 3:40am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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)[^]

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web01 | 2.8.170915.1 | Last Updated 18 Nov 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100