How change a DetailsView Datafield Value to a Hidden Value on Update
Posted on 2006-07-06
I need to change the value of a Bound DataField in a DetailsView. I select the SQL record that includes a field of who last changed the record (this need not be included in the DetailsView). When someone edits and updates this record using the DetailsView, I need to pull their LOGON_USER value and insert it into this field of the new row of the SQL table.
I can do all of this in a regular .asp form, but I seem to be lost in asp.net 2.0. I am using the GUI to create the DetailsView and I can edit the DataSet if needed. If code-behind is needed, I do not really understand this concept yet (I think it is a subroutine on the aspx.vb page, but how to call it???). I have been working on this several days and really need to get past it.
Every help appreciated!