Accessing the Database Directly from an ASP.NET Page
These tutorials show how to use the SqlDataSource control to query the database directly when you don't need a strict separation of the presentation and data access layers.
- Querying Data with the SqlDataSource Control (C#)
- Using Parameterized Queries with the SqlDataSource (C#)
- Inserting, Updating, and Deleting Data with the SqlDataSource (C#)
- Implementing Optimistic Concurrency with the SqlDataSource (C#)
- Querying Data with the SqlDataSource Control (VB)
- Using Parameterized Queries with the SqlDataSource (VB)
- Inserting, Updating, and Deleting Data with the SqlDataSource (VB)
- Implementing Optimistic Concurrency with the SqlDataSource (VB)