Updating data in gridview Sexy chat rooms no sign up for girls
The simplest option would be to require the page developer to specify the URLs for these two images. But I also wanted to allow the page developer to have a working Grid View even if she didn't want to spend the time to find up and down arrow images.Therefore, I embedded an up and down arrow image into the properties.All other fields - the Template Field, Check Box Field, Button Field, and so on - will correctly display the up and down arrow images without any extra hacks.We'll see how to use this custom Bound Field class in the "Using the Custom Grid View Control in an ASP. At this point you may be wondering how the custom Grid View control determines the URLs for the up and down image arrows.Consequently, the grid displays the standard up and down arrow images (see the first screen shot below).
The first one shows the grid sorted by price in descending order.
For more information on these enhancements, see: Improving the Sort Arrows Grid View Control.
Since the Bound Field is the only Grid View field that HTML encodes its data, this hack is only needed for the Bound Field.
So, from the end user's perspective, she clicks the text in a particular column header and the data is sorted by that column.
For more information on sorting with the Grid View, along with a downloadable demo, check out the Paging and Sorting Report Data tutorial.