Rowupdating vs rowediting stupid cupid dating service
Once you set these properties you will find that the column headers of all the columns for which you specified Sort Expression property appear as clickable link buttons.Clicking on the link buttons raise two events: Just like paging events these events follow pre and post pattern.
This enables you to provide an event-handling method that performs a custom routine, such as canceling the sorting operation, whenever this event occurs.In order to implement paging you need to set Allow Paging property of the Grid View control to True. There are two events of Grid View that are related to paging.They are: The former event is raised before the current page changes and the later is raised after the page has changed. Write the following code in the Page Index Changing event of the Grid View.For information about how to programmatically initiate a sort operation, see the Sort method.For more information about handling events, see NIB: Consuming Events.
The Cancel property allows you to cancel the sorting operation.