Rowupdating newvalues is empty webcam chatting and dating

I want to validate the user input before my row is updated. Datagrid(1.1) to Grid View(2.0) and using the Row Updating event how to extract the values from the controls.

Here is some relevant code - this is the Grid in - nothing specified so if any changes occur in the underlaying DB no aspx changes will be required (the idea that is being tested) That should give you back a valid Values collection.It gets into the "On Row Updating" event just fine, but there are no New Values or Old Values. Regarding on the Grid View control's Row Updating event problem, it is the expected behavior because when we do not associate Grid View(or other ASP.NET 2.0 databound control) with Data Source control, it won't automatically query and fill the parameters collection of the updating/deleting/... In such cases, we need to manually extract the field values from the Template control. In that case you can do it using the Extract Values From Cell method to make the New Values collection yourself.I haven't had time to verify this but that seemed to be the case from reading this.A friend asked me to help him out on this and frankly it has me completely stumped as well.

Leave a Reply