This page links to help on widely used tasks for displaying and editing data in ASP.NET Web pages. To view other categories of popular tasks covered in Help, see How Do I in Visual Web Developer.
The information in this topic is subdivided into the following sections:
Getting Started
Walkthroughs
SQL-based Databases
Business Objects
XML
Data Controls
- How to: Add DataList Web Server Controls to an ASP.NET Web Page (Visual Studio)
-
Provides steps for creating a DataList control, which enables you to display data in an HTML table using a layout you define.
- Walkthrough: Displaying and Formatting Data with the DataList Web Server Control
-
Provides a tutorial on creating a DataList control, which enables you to display data in an HTML table using a layout you define.
- How to: Allow Users to Delete Items in DataList Web Server Controls
-
Provides steps for configuring the DataList control to enable users to delete data records.
- How to: Allow Users to Edit Items in DataList Web Server Controls
-
Provides steps for configuring the DataList control to enable users to edit data records.
- How to: Allow Users to Select Items in DataList Web Server Controls
-
Provides steps for configuring the DataList control to enable users to select (highlight) a specific item.
- How to: Customize Items Dynamically in the DataList Web Server Control
-
Provides steps for how to use code to change the look or behavior of items in a DataList control at run time.
- How to: Specify Flow or Table Format in DataList Web Server Controls
-
Provides steps for how to set the layout of a DataList control.
- How to: Specify Horizontal or Vertical Layout in DataList Web Server Controls
-
Provides steps for how to set the layout of a DataList control.
- Walkthrough: Editing and Inserting Data in Web Pages with the DetailsView Web Server Control
-
Provides a tutorial on using a DetailsView control to enable users to edit existing records and create new ones.
- Modifying Data Using a DetailsView Web Server Control
-
Provides information on using the DetailsView control to enable users to edit data one record at a time.
- Paging in a DetailsView Web Server Control
-
Provides information on configuring the DetailsView control to enable users to page through multiple records, one at a time.
- Walkthrough: Displaying Formatted Data in Web Pages with the FormView Web Server Control
-
Provides a tutorial on using a FormView control to display a single record at a time, using free-form layout templates that you define.
- Modifying Data Using a FormView Web Server Control
-
Provides steps on using a FormView control to enable users to edit data one record at a time.
- Paging in a FormView Web Server Control
-
Provides information on configuring the FormView control to enable users to page through multiple records, one at a time.
- Walkthrough: Creating Master/Detail Web Pages in Visual Studio
-
Provides a tutorial on how to use the DropDownList, GridView, DetailsView, and SqlDataSource controls to create pages that display lists of data where the user can select an individual record to examine further.
- Walkthrough: Simple Sorting for the GridView Web Server Control
-
Provides a tutorial on how to use built-in features of the GridView control to enables users to sort the displayed data.
- How to: Customize Controls for Editing in the GridView Web Server Control
-
Provides steps on configuring the GridView control to display the controls that you choose when in edit mode.
- How to: Set GridView Web Server Control Column Width Dynamically
-
Provides steps for setting column widths in the GridView control according to the width of the data being displayed.
- How to: Respond to Button Events in Data-Bound Controls
-
Provides steps for how to handle events raised by button controls in list data controls such as the GridView, DataList, and Repeater controls.
- How to: Enable Default Deleting in the GridView Web Server Control
-
Provides steps for configuring the GridView control to enable users to delete data records.
- How to: Enable Default Editing in the GridView Web Server Control
-
Provides steps for configuring the GridView control to enable users to edit data records.
- How to: Enable Default Paging in the GridView Web Server Control
-
Provides steps for configuring the GridView control to enable users to page through long lists of data records.
- Walkthrough: Data Binding to a Custom Business Object
-
Provides a tutorial on how to use the ObjectDataSource control to create multi-tier data access in an ASP.NET Web application.
- Walkthrough: Data Binding Web Pages with a Visual Studio Data Component
-
Provides a tutorial on how to use Visual Studio tools to create a data-access object that you can use with the ObjectDataSource control.
- How to: Add Repeater Web Server Controls to a Web Forms Page (Visual Studio)
-
Provides steps for creating a Repeater control, which enables you to display data on an ASP.NET Web page using free-form layout templates that you define.
- How to: Enable Filtering for SqlDataSource Controls (Visual Studio)
-
Provides steps for how to configure a SqlDataSource control to enable the results of a query to be further refined with filtering.
- How to: Respond to Button Events in DataList, Repeater, or GridView Items
-
Provides steps for how to handle events raised by button controls in list data controls such as the GridView, DataList, and Repeater controls.
- How to: Create Web Server Control Templates Using the Designer
-
Provides steps for using the Visual Web Developer designer to create and edit templates in the GridView, DetailsView, FormView, DataList, and Repeater controls.
- How to: Create ASP.NET Web Control Templates Declaratively
-
Provides steps for creating templates in the GridView, DetailsView, FormView, DataList, and Repeater controls by editing the markup directly.
- How to: Bind to Data in a Templated Control
-
Provides steps for adding data-bound controls to templates in controls such as the GridView, DetailsView, FormView, DataList, and Repeater controls.
Data Security
See Also