Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > ADO.NET
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 15th, 2008, 11:27 AM
Registered User
 
Join Date: Dec 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to save DataGridView to temp dataset

Hello,
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)


 
Old April 17th, 2008, 10:14 PM
Authorized User
 
Join Date: Jan 2008
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi

pls follow this link

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=3110893&SiteID=1

That helps me a lot hope can help you too.

regards,
qiux






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





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