Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > Other .NET > ADO.NET
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
ADO.NET For discussion about ADO.NET.  Topics such as question regarding the System.Data namespace are appropriate.  Questions specific to a particular application should be posted in a forum specific to the application .
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ADO.NET section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old April 15th, 2008, 11:27 AM
Registered User
Join Date: Dec 2004
Location: calgary, ab, Canada.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to save DataGridView to temp dataset

I have a DataGridView that loads and seems to work so far. What I want to be able to do now is allow the user to make changes to the DataGridView but also allow rollback until they hit the save button.

So what I was thinking of doing was saving the DataGridView each time they make a change into a temp dataset that I will rebind to the DataGridView every time they make a change until they hit the save button that will then save the dataset to SQL.

So my questions are:

Is this a good way to do this?
And how do I go about saving the DataGridView to a tempo dataset?

As always thanks again for the help.
(using VS 2005 C# and SQL 2005)

Reply With Quote
  #2 (permalink)  
Old April 17th, 2008, 10:14 PM
Authorized User
Join Date: Jan 2008
Location: , , .
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts


pls follow this link


That helps me a lot hope can help you too.


Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
save changes to datagridview jriggs General .NET 1 May 30th, 2007 08:13 AM
Save data on datagridview salemkoten SQL Server 2005 1 November 2nd, 2006 11:04 PM
Excel Workbook Save: Trap Temp file creation Shasur Excel VBA 0 July 3rd, 2006 10:07 PM
How to save DataSet into Excel files yaya1899 ADO.NET 0 January 3rd, 2005 03:10 PM
Using Temp Table and dataset Bhavin Crystal Reports 0 September 14th, 2004 08:39 AM

All times are GMT -4. The time now is 04:24 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.