Net gridview rowupdating event

For information about how to programmatically initiate a sort operation, see the Sort method.

For more information about handling events, see NIB: Consuming Events.

This collection only requires the row index no and it will give us the primary key.

net gridview rowupdating event-53

I am using Template Field’s Item Template and Edit Item Template for providing read only and editing interface of the same column in the Grid View.This enables you to provide an event-handling method that performs a custom routine, such as modifying the values of the data bound to the row, whenever this event occurs.A Grid View Row Event Args object is passed to the event-handling method, which enables you to access the properties of the row being bound.In this tutorial I will show you how you can create an editable Grid View control for administrators to modify database records directly into the Grid View control.Editing the Grid View control can be an incredibly easy feature to add for certain database tables, especially those who have no foreign key associated and can easily be edited through the use of a standard Text Box web control as shown in the figure below: Before we start examining the ASP.

Leave a Reply