Wrox Programmer Forums
|
VB.NET 2002/2003 Basics For coders who are new to Visual Basic, working in .NET versions 2002 or 2003 (1.0 and 1.1).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB.NET 2002/2003 Basics 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 September 24th, 2004, 08:59 AM
Friend of Wrox
 
Join Date: Sep 2003
Posts: 130
Thanks: 0
Thanked 0 Times in 0 Posts
Default Datagrids

Hi

I have a datagrid that is filled with data, I want the user to be able to change this data and then save the altered details. Do I have to go through each record in the grid and save each individually or is there a better way.

Thanks in advance

Louisa

 
Old September 24th, 2004, 08:19 PM
Authorized User
 
Join Date: Jul 2003
Posts: 71
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I came across that situation before, I believe there is that "rowchanges" in dataset that could help you do that job

Proud To Be Pinoy
 
Old September 25th, 2004, 09:55 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 428
Thanks: 57
Thanked 2 Times in 2 Posts
Default

Use the .Update method of the datadapter associated with the table to apply all changes, additions, and deletions performed on the grid in one fell swoop.





Similar Threads
Thread Thread Starter Forum Replies Last Post
datagrids dhoward VB.NET 2002/2003 Basics 8 May 24th, 2007 09:07 AM
Datagrids Textbox Laxmikant_it ASP.NET 1.0 and 1.1 Professional 2 January 22nd, 2007 11:03 AM
Datagrids dhoward VB.NET 2002/2003 Basics 1 January 2nd, 2007 01:06 AM
Nested DataGrids Manu General .NET 2 May 4th, 2006 12:56 AM
scrolling datagrids badgolfer ASP.NET 1.0 and 1.1 Basics 2 September 16th, 2004 07:36 AM





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