| |||||||||||||||
Adding Button Fields to a GridView ControlControls You Can Use on Web Forms ASP.NET Data Controls GridView Control A ButtonField in a GridView control enables authors to define custom functionality for items in the grid beyond the select, edit, delete, and hyperlink features of other column types. Using the ButtonField, an author can include custom-defined buttons, such as an "Add to shopping cart" button. A ButtonField can have one of the following button types:
The button captions can either be static text or text read from a database. To add a button column
The following examples show several ways of using a ButtonField to display a column of command buttons in a GridView control.
For additional information, see ButtonField in the class library. See AlsoAdding Bound Fields to a GridView Control Adding Hyperlink Fields to a GridView Control Adding Template Fields to a GridView Control |
| ||||||||||||||
Check out related books at Amazon
© 2000-2008 Rey Nuñez All rights reserved.
If you have any question, comment or suggestion
about this site, please send us a note
You can help support aspxtreme