I have a GridView that is used to display and edit a SQL table. I have a
text field that I need to know if it changed during the update and also what
the previous Text value was before the change. What is the best way to do
this? I have other code in the OnRowEditing event, but I only want to do
take some action if the Text was actually saved in the SQL UPDATE. Thank
you.
David
Manish - 21 Dec 2007 04:58 GMT
Hello David,
Please refer to the link below to get the oldvalues and newvalues when you
update a particular row in the GridView
http://msdn2.microsoft.com/en-us/library/system.web.ui.webcontrols.gridviewupdat
edeventargs.oldvalues.aspx
Regards,
Manish
www.componentone.com
> I have a GridView that is used to display and edit a SQL table. I have a
> text field that I need to know if it changed during the update and also what
[quoted text clipped - 4 lines]
>
> David