View Single Post
  #4 (permalink)  
Old June 11th, 2008, 08:54 AM
kevorkian kevorkian is offline
Authorized User
 
Join Date: Sep 2004
Location: , , .
Posts: 62
Thanks: 0
Thanked 1 Time in 1 Post
Default

Ok, that makes more sense - but I am still unclear on how to reference the old values inside this ItemUpdating event. I was probably not clear about that before, but I was trying to make all of this happen when a detailsview has been edited, the sub is:


Protected Sub DataTable_ItemUpdating(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.DetailsViewUpdateEventAr gs) Handles DataTable.ItemUpdating

How do I get the key of the record that is about to be updated in this subroutine to pass to the stored procedure? Is it simply, e.Keys("KEY_FIELD")?
Reply With Quote