Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

ASP.NET DataGrid storing both original and edited values

In most cases, after editing rows in a DataGrid, we press the Update button, which then updates the datasource, and the grid rebinds, and you see the new value. However, there may be cases when you wish to update the value but still see the original value, and morevover, only commit all changes at o

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

About the Author

Alexei Fimine
Software Developer
Canada Canada
"And though I have the gift of prophecy, and understand all mysteries, and all knowledge; and though I have all faith, so that I could remove mountains, and have not charity, I am nothing. And though I bestow all my goods to feed the poor, and though I give my body to be burned, and have not charity, it profiteth me nothing. Charity suffereth long, and is kind; charity envieth not; charity vaunteth not itself, is not puffed up, Doth not behave itself unseemly, seeketh not her own, is not easily provoked, thinketh no evil; Rejoiceth not in iniquity, but rejoiceth in the truth; Beareth all things, believeth all things, hopeth all things, endureth all things."

| Advertise | Privacy | Mobile
Web04 | 2.8.140709.1 | Last Updated 3 May 2007
Article Copyright 2007 by Alexei Fimine
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid