Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / December 2007

Tip: Looking for answers? Try searching our database.

Compare OldValue of TextBox in GridView

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
David C - 20 Dec 2007 20:22 GMT
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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.