Rowupdating datakey

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

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

Database Table Structure We are using an "EMPLOYEE" table so the "EMPLOYEE" table design is: Design of Grid View We design a Grid View with which we can perform update and delete operations.

Here we can update Name, Emp_Code and Emp_Age fields depending on the Id field of the "EMPLOYEE" table.

We can achieve the same functionality using Datakeys. A Grid View Update Event Args object is passed to the event-handling method, which enables you to determine the index of the current row and to indicate that the update operation should be canceled.To cancel the update operation, set the collections, if necessary, before the values are passed to the data source.He visto en reiteradas oportunidad que una operación simple como es el caso de operar con una fila de un Grid View se puede transformarse en algo complejo, mas que nada motivado por la distintas formas que hay para realizar esta acción.En este articulo veremos las algunas formas de lograrlo y como difieren las técnicas que se puede aplicarse.

Search for rowupdating datakey:

rowupdating datakey-43

A datakey represents the primary key field or field of a record that can uniquely identify it in a data-bound control. Row Index represents the index of the particular row.

Leave a Reply

Your email address will not be published. Required fields are marked *

One thought on “rowupdating datakey”