Click here to Skip to main content
15,906,333 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
hello

I am developing a application in vb.net. I want to update my database at using data gridview control means when i enter a value in particular cell that time my database is update as well as calculate addition of end of cell just like excel sheet how it possible.
pls help me.

Thank u in advance.
Posted
Comments
Prasad_Kulkarni 12-Jan-12 2:21am    
Always post your code to get better and exact answers.

You have got a ton of articles available online and on code project.

Auto Saving DataGridView Rows to a SQL Server Database[^]

VB DataGridView Automatically Saving Updates to a Bound Database[^]

DataGridView with integrated filtering, sorting, and updating changes to SQL[^]

If you read through the above articles, you should be able to do what you have requested.
 
Share this answer
 
 
Share this answer
 
v2
 
Share this answer
 
Check this Link[^] and you can use triggers in sql to auto update
 
Share this answer
 
v2
Use Data Grid Events

Write your code of update in grid events

good luck
 
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