Fired event rowupdating

Rated 4.31/5 based on 612 customer reviews

My goal is to update the one row at the time with a button which is in the same row which calls the following Method.protected void Tests To Be Done_Row Updating(object sender, Grid View Edit Event Args e) Sql Command command Z = new Sql Command(query, my Connection); command Z. Close(); Set Patient Test Grid(Session["PATID"], e); } At my first try I had a On Row Command with the Grid View Command Event Args at the code behind.You should create your data source once (on the user's first visit) and store it into Session for later use, and only bind the Grid View to the data source when it is necessary to do so.I would recommend trying this out and starting a new thread in the .Do you have some sort of Java Script functionality that may be stopping it? A common problem people have with Grid Views is understanding when to data bind the data source to the Grid View.

fired event rowupdating-48

fired event rowupdating-70

I am using a Template Field to display my Edit, Update and Cancel 'buttons' in the first column of the Grid View within respective Item Template and Edit Item Template fields.What happens with this is that the source is being created every time the user submits the page.This means that when the user does an update, the data from that update is lost.Please review the stack trace for more information about the error and where it originated in the code. Source Error: An unhandled exception was generated during the execution of the current web request.Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Leave a Reply