Rowupdating object sender

The column depense on the selected value from the dropdown, I dont know the both selected items at the beginning.

rowupdating object sender-2

To get what you've type in I think you need to get the new values (the Dictionary e. In your case you can use it something like this (assuming name, phone and email are what they're called in your gridview): NOTE: If you're simply using this to get the values typed in to update your database then you're better of binding the datagrid and use the value after that to ensure you definitely have the same values in the datagrid as to what you put into the database.

Alternatively, use the Row Updated event instead of the Row Updating event. However, as Martin says you don't need to do this if all you're doing is simply getting the new values put in your data grid to then update your database.

event is raised when a row's Update button is clicked, but before the Grid View control updates the row.

This enables you to provide an event-handling method that performs a custom routine, such as canceling the update operation, whenever this event occurs.

Here Mudassar Ahmed Khan has explained how to Export a Grid View with Images or Pictures to Word Excel or PDF Formats in ASP. In this article the Grid View is displaying images stored on disk and th Hi, This is Mudassar Khan. Net Question Answer site, specially started to allow visitors of this site ask their doubts and queries. Just click the Ask Now button and ask your question now.

Last modified 10-Jul-2017 02:39