SelectedIndexSelectedIndex based on the data to be
bound to the data Web control. Specifically, this example looks at auto-selecting the article with the most
visits... (Note that only 10 rows are retrieved, and that they are ordered randomly using NEWID(). For more
information on returning a random subset of rows with NEWID() be sure to read Returning
Data in Random Order with NEWID(). Be sure to refresh to see the effect...)
|
Article: Including Subheadings in a Datagrid Views: 7203 |
|
Article: Creating a Fully Editable DataGrid Views: 13425 |
|
Article: An Extensive Examination of the DataGrid Web Control: Part 1 Views: 21152 |
|
Article: Summarizing Data with ROLLUP Views: 7065 |
|
Article: Top Questions About the DataGrid Web Control Views: 15318 |
|
Article: DataGrid Made Compliant with Section 508 of the Web Accessibility Initiative Guidelines Views: 5936 |
|
Article: Highlighting Search Keywords in a DataGrid Web Control Views: 4594 |
|
Article: Creating Custom Columns for the ASP.NET Datagrid Views: 13545 |
|
Article: Adding a DropDownList Web Control to the DataGrid's Editing Interface Views: 6526 |
|
Article: Adding a New Record to the DataGrid in the Footer Views: 11653 |
Source Code
|
[Return to the FAQ...]