Wrox Programmer Forums
|
BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6
This is the forum to discuss the Wrox book ASP.NET 2.0 Instant Results by Imar Spaanjaars, Paul Wilton, Shawn Livermore; ISBN: 9780471749516
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 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 January 27th, 2007, 04:27 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Yeah, sorry. I mean GridView.

The .NewValues are transferred to your Update method automatically, provided you set up a Update method on the ODS.

If you have a method that accepts a Ticket object:

Public Shared Function Update(ByVal myTicket As Ticket) As Boolean

then the myTicket object's Status property is updated automatically. Just set a watch in Update and you'll see the new values appear.

Alternatively, if you have an Update method that has parameters for all relevant properties:

Public Shared Function Update(ByVal ticketName As String, status As NameValue.....) As Boolean


you'll find that the status parameter is updated with the object you created in the Updating event...

Hope this helps,

Imar
---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out this post.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Binding Controls zulf Infopath 0 October 8th, 2007 11:22 PM
Need help binding RadioButtonList binici ASP.NET 2.0 Basics 5 May 11th, 2007 06:12 PM
data binding g2000 ASP.NET 2.0 Basics 0 January 13th, 2006 03:36 PM
binding of textbox sdibartolomeo ADO.NET 0 November 10th, 2003 02:26 PM





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