Rowupdating old

Rated 4.86/5 based on 536 customer reviews

Data Bind(); During Row Editing, I can see all cell values (Grid View1. Text), but during Row Updating, I can only see value for the readonly field (If I set all columns to be readonly, I can see all cell values, but it doesn't allow user to edit though). I've been staring at this for a whole day and can't figure anything out.Do not bind the Grid View on every Post Back as it gets populated again when you Post Back the page and the data you have entered whilein edit mode got lost as the Grid binds again. Is Post Back) block, you will not get the issue there after.

w=150 150w, w=300 300w" sizes="(max-width: 416px) 100vw, 416px" /Event.

"slemen" wrote: The Row Updating event is raised when a row's Update button is clicked, but before the Grid View control updates the row.

Everything is working fine, but the Grid View is Updating the Database with the Value that is already there instead of the new one that is entered into the Edit Textbox.

The New Values and Old Values collections are empty..means I can't do anything but display the orginal data again :( Does anyone else have this problem or a solution?

I am using and Array List of my own Objects with public Get/Set methods (c# style).

Leave a Reply