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: Creating a Fully Editable DataGrid Views: 23757 |
|
Article: Displaying Records in a DataGrid in Random Order Views: 5927 |
|
Article: Retain Scrollback Position After Postback in DataGrid Views: 5934 |
|
Article: Binding a DataGrid to an ADO Recordset Views: 4683 |
|
Article: An Extensive Examination of the DataGrid Web Control: Part 1 Views: 21722 |
|
Article: Deciding When to Use the DataGrid, DataList or Repeater Views: 6766 |
|
Article: Hierarchical Data Binding in ASP.NET Views: 8900 |
|
Article: Creating a Custom DataGridColumn Class Views: 4373 |
|
Article: Summarizing Data with ROLLUP Views: 7327 |
|
Article: Top Questions About the DataGrid Web Control Views: 15826 |
Source Code
|
[Return to the FAQ...]