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)
คำติชม
https://aka.ms/ContentUserFeedback
เร็วๆ นี้: ตลอดปี 2024 เราจะขจัดปัญหา GitHub เพื่อเป็นกลไกคำติชมสำหรับเนื้อหา และแทนที่ด้วยระบบคำติชมใหม่ สำหรับข้อมูลเพิ่มเติม ให้ดู:ส่งและดูข้อคิดเห็นสำหรับ