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.