Get newvalues gridview rowupdating Local sex lady mobile no

The Grid View Sort Event Args class has three important properties.

The Sort Expression property supplies the sort expression that you specified earlier for the column being sorted.

The Sort Direction property specifies the direction of sorting i.e. This property is not of much when you are sorting the grid on your own.

However, when coupled with data source controls the Grid View can toggle the sorting direction automatically for you and you can get/set the direction using this property.

The method essentially binds the Grid View with a Data View.

The Data View supplies all the records from the Employees table.

This will display the corresponding records in the Grid View.

The Sorting event allows you to cancel the operation also.

The Sorting event handler receives an event argument of type Grid View Sort Event Args.

Once we click on edit the Grid View raises an event called Row Editing and the Edit link button changes to Update and Cancel link buttons.

Clicking on Update link button raises Row Updating event whereas clicking on the Cancel link button raises Row Canceling Edit event.

Leave a Reply