Now for the results column the Validation will be different based on the Test, the test ABC can have a result only being between 2-7 while Test CBA can be True/False and so on. if so you can add another Item Template which hold the update button where you can do validations to reach row.I just dont know how to approach of validating each field. For validation you an use Java Script/JQurey in client side or you can also do it in code behind in Grid View.

from rowupdating-72from rowupdating-16

In the code below the first line works to read data from the gridview control but the second line the ltest label is null.

The very first column of the grid is a bound data item that I converted to a template column.

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.

Now you can ask questions directly to me on my new site ASPForums. So I am having an issue with doing an update in a Gridview during an On Row Updating event.What I am trying to do is set the Update Command in an Sql Data Source then update using that command.Disclaimer: The information provided on Dev and its affiliated web properties is provided "as is" without warranty of any kind.Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose.Please refer to the Dev Website Terms of Use for more information.