이전 버전 - 데이터 액세스Older Versions - Data Access
ASP.NET Web Forms 데이터 컨트롤을 사용 하 여 다양 한 데이터 관련 작업을 수행 하는 방법입니다.How to perform a variety of data-related tasks using ASP.NET Web Forms data controls.
-
- 데이터 액세스 레이어 만들기(C#)Creating a Data Access Layer (C#)
- 비즈니스 논리 레이어 만들기(C#)Creating a Business Logic Layer (C#)
- 마스터 페이지 및 사이트 탐색(C#)Master Pages and Site Navigation (C#)
- 데이터 액세스 레이어 만들기(VB)Creating a Data Access Layer (VB)
- 비즈니스 논리 레이어 만들기(VB)Creating a Business Logic Layer (VB)
- 마스터 페이지 및 사이트 탐색(VB)Master Pages and Site Navigation (VB)
-
- ObjectDataSource를 사용하여 데이터 표시(C#)Displaying Data With the ObjectDataSource (C#)
- 선언적 매개 변수(C#)Declarative Parameters (C#)
- ObjectDataSource의 매개 변수 값을 프로그래밍 방식으로 설정(C#)Programmatically Setting the ObjectDataSource's Parameter Values (C#)
- ObjectDataSource를 사용하여 데이터 표시(VB)Displaying Data With the ObjectDataSource (VB)
- 선언적 매개 변수(VB)Declarative Parameters (VB)
- ObjectDataSource의 매개 변수 값을 프로그래밍 방식으로 설정(VB)Programmatically Setting the ObjectDataSource's Parameter Values (VB)
-
- DropDownList 한 개로 마스터/세부 정보 필터링(C#)Master/Detail Filtering With a DropDownList (C#)
- DropDownList 두 개로 마스터/세부 정보 필터링(C#)Master/Detail Filtering With Two DropDownLists (C#)
- 두 페이지에 걸쳐 마스터/세부 정보 필터링(C#)Master/Detail Filtering Across Two Pages (C#)
- 세부 정보 DetailView와 함께 선택 가능한 마스터 GridView를 사용하는 마스터/세부 정보(C#)Master/Detail Using a Selectable Master GridView with a Details DetailView (C#)
- DropDownList 한 개로 마스터/세부 정보 필터링(VB)Master/Detail Filtering With a DropDownList (VB)
- DropDownList 두 개로 마스터/세부 정보 필터링(VB)Master/Detail Filtering With Two DropDownLists (VB)
- 두 페이지에 걸쳐 마스터/세부 정보 필터링(VB)Master/Detail Filtering Across Two Pages (VB)
- 세부 정보 DetailView와 함께 선택 가능한 마스터 GridView를 사용하는 마스터/세부 정보(VB)Master/Detail Using a Selectable Master GridView with a Details DetailView (VB)
-
- 데이터에 따라 사용자 지정 형식 지정(C#)Custom Formatting Based Upon Data (C#)
- GridView 컨트롤에서 TemplateFields 사용(C#)Using TemplateFields in the GridView Control (C#)
- DetailsView 컨트롤에서 TemplateFields 사용(C#)Using TemplateFields in the DetailsView Control (C#)
- FormView의 템플릿(C#)FormView's Templates (C#)
- GridView의 바닥글에 요약 정보 표시(C#)Displaying Summary Information in the GridView's Footer (C#)
- 데이터에 따라 사용자 지정 형식 지정(VB)Custom Formatting Based Upon Data (VB)
- GridView 컨트롤에서 TemplateFields 사용(VB)Using TemplateFields in the GridView Control (VB)
- DetailsView 컨트롤에서 TemplateFields 사용(VB)Using TemplateFields in the DetailsView Control (VB)
- FormView의 템플릿(VB)FormView's Templates (VB)
- GridView의 바닥글에 요약 정보 표시(VB)Displaying Summary Information in the GridView's Footer (VB)
데이터 편집, 삽입 및 삭제Editing, Inserting, and Deleting Data
- 데이터 삽입, 업데이트 및 삭제의 개요(C#)Overview of Inserting, Updating, and Deleting Data (C#)
- 삽입, 업데이트 및 삭제와 연결된 이벤트 검사(C#)Examining the Events Associated with Inserting, Updating, and Deleting (C#)
- ASP.NET 페이지에서 BLL 및 DAL 수준의 예외 처리(C#)Handling BLL- and DAL-Level Exceptions in an ASP.NET Page (C#)
- 편집 및 삽입 인터페이스에 유효성 검사 컨트롤 추가(C#)Adding Validation Controls to the Editing and Inserting Interfaces (C#)
- 데이터 수정 인터페이스 사용자 지정(C#)Customizing the Data Modification Interface (C#)
- 낙관적 동시성 구현(C#)Implementing Optimistic Concurrency (C#)
- 삭제할 때 클라이언트 쪽 확인 추가(C#)Adding Client-Side Confirmation When Deleting (C#)
- 사용자에 따라 데이터 수정 기능 제한(C#)Limiting Data Modification Functionality Based on the User (C#)
- 데이터 삽입, 업데이트 및 삭제의 개요(VB)Overview of Inserting, Updating, and Deleting Data (VB)
- 삽입, 업데이트 및 삭제와 연결된 이벤트 검사(VB)Examining the Events Associated with Inserting, Updating, and Deleting (VB)
- ASP.NET 페이지에서 BLL 및 DAL 수준의 예외 처리(VB)Handling BLL- and DAL-Level Exceptions in an ASP.NET Page (VB)
- 편집 및 삽입 인터페이스에 유효성 검사 컨트롤 추가(VB)Adding Validation Controls to the Editing and Inserting Interfaces (VB)
- 데이터 수정 인터페이스 사용자 지정(VB)Customizing the Data Modification Interface (VB)
- 낙관적 동시성 구현(VB)Implementing Optimistic Concurrency (VB)
- 삭제할 때 클라이언트 쪽 확인 추가(VB)Adding Client-Side Confirmation When Deleting (VB)
- 사용자에 따라 데이터 수정 기능 제한(VB)Limiting Data Modification Functionality Based on the User (VB)
-
- 페이징 및 정렬 보고서 데이터(C#)Paging and Sorting Report Data (C#)
- 대량의 데이터를 효율적으로 페이징(C#)Efficiently Paging Through Large Amounts of Data (C#)
- 사용자 지정 페이징 데이터 정렬(C#)Sorting Custom Paged Data (C#)
- 사용자 지정된 정렬 사용자 인터페이스 만들기(C#)Creating a Customized Sorting User Interface (C#)
- 페이징 및 정렬 보고서 데이터(VB)Paging and Sorting Report Data (VB)
- 대량의 데이터를 효율적으로 페이징(VB)Efficiently Paging Through Large Amounts of Data (VB)
- 사용자 지정 페이징 데이터 정렬(VB)Sorting Custom Paged Data (VB)
- 사용자 지정된 정렬 사용자 인터페이스 만들기(VB)Creating a Customized Sorting User Interface (VB)
DataList 및 반복기를 사용하여 데이터 표시Displaying Data with the DataList and Repeater
- DataList 및 반복기 컨트롤을 사용하여 데이터 표시(C#)Displaying Data with the DataList and Repeater Controls (C#)
- 데이터를 기반으로 DataList 및 반복기 서식 지정(C#)Formatting the DataList and Repeater Based Upon Data (C#)
- DataList 컨트롤을 사용하여 행마다 여러 레코드 표시(C#)Showing Multiple Records per Row with the DataList Control (C#)
- 중첩된 데이터 웹 컨트롤(C#)Nested Data Web Controls (C#)
- DataList 및 반복기 컨트롤을 사용하여 데이터 표시(VB)Displaying Data with the DataList and Repeater Controls (VB)
- 데이터를 기반으로 DataList 및 반복기 서식 지정(VB)Formatting the DataList and Repeater Based Upon Data (VB)
- DataList 컨트롤을 사용하여 행마다 여러 레코드 표시(VB)Showing Multiple Records per Row with the DataList Control (VB)
- 중첩된 데이터 웹 컨트롤(VB)Nested Data Web Controls (VB)
DataList 및 반복기를 사용하는 필터링 시나리오Filtering Scenarios with the DataList and Repeater
- DropDownList 한 개로 마스터/세부 정보 필터링(C#)Master/Detail Filtering With a DropDownList (C#)
- 두 페이지에 걸쳐 마스터/세부 정보 필터링(C#)Master/Detail Filtering Across Two Pages (C#)
- 세부 정보 DataList와 함께 마스터 레코드의 글머리 기호 목록을 사용하는 마스터/세부 정보(C#)Master/Detail Using a Bulleted List of Master Records with a Details DataList (C#)
- DropDownList 한 개로 마스터/세부 정보 필터링(VB)Master/Detail Filtering With a DropDownList (VB)
- 두 페이지에 걸쳐 마스터/세부 정보 필터링(VB)Master/Detail Filtering Across Two Pages (VB)
- 세부 정보 DataList와 함께 마스터 레코드의 글머리 기호 목록을 사용하는 마스터/세부 정보(VB)Master/Detail Using a Bulleted List of Master Records with a Details DataList (VB)
DataList를 통해 데이터 편집 및 삭제Editing and Deleting Data Through the DataList
- DataList에서 데이터 편집 및 삭제의 개요(C#)Overview of Editing and Deleting Data in the DataList (C#)
- 일괄 처리 업데이트 수행(C#)Performing Batch Updates (C#)
- BLL 및 DAL 수준의 예외 처리(C#)Handling BLL- and DAL-Level Exceptions (C#)
- DataList의 편집 인터페이스에 유효성 검사 컨트롤 추가(C#)Adding Validation Controls to the DataList's Editing Interface (C#)
- DataList의 편집 인터페이스 사용자 지정(C#)Customizing the DataList's Editing Interface (C#)
- DataList에서 데이터 편집 및 삭제의 개요(VB)Overview of Editing and Deleting Data in the DataList (VB)
- 일괄 처리 업데이트 수행(VB)Performing Batch Updates (VB)
- BLL 및 DAL 수준의 예외 처리(VB)Handling BLL- and DAL-Level Exceptions (VB)
- DataList의 편집 인터페이스에 유효성 검사 컨트롤 추가(VB)Adding Validation Controls to the DataList's Editing Interface (VB)
- DataList의 편집 인터페이스 사용자 지정(VB)Customizing the DataList's Editing Interface (VB)
DataList 및 반복기를 사용하여 페이징 및 정렬Paging and Sorting with the DataList and Repeater
- DataList 또는 반복기 컨트롤에서 보고서 데이터 페이징(C#)Paging Report Data in a DataList or Repeater Control (C#)
- DataList 또는 반복기 컨트롤에서 데이터 정렬(C#)Sorting Data in a DataList or Repeater Control (C#)
- DataList 또는 반복기 컨트롤에서 보고서 데이터 페이징(VB)Paging Report Data in a DataList or Repeater Control (VB)
- DataList 또는 반복기 컨트롤에서 데이터 정렬(VB)Sorting Data in a DataList or Repeater Control (VB)
DataList 및 반복기를 사용하는 사용자 지정 단추 동작Custom Button Actions with the DataList and Repeater
ASP.NET 페이지에서 데이터베이스에 직접 액세스Accessing the Database Directly from an ASP.NET Page
- SqlDataSource 컨트롤을 사용하여 데이터 쿼리(C#)Querying Data with the SqlDataSource Control (C#)
- SqlDataSource와 함께 매개 변수가 있는 쿼리 사용(C#)Using Parameterized Queries with the SqlDataSource (C#)
- SqlDataSource를 사용하여 데이터 삽입, 업데이트 및 삭제(C#)Inserting, Updating, and Deleting Data with the SqlDataSource (C#)
- SqlDataSource를 사용하여 낙관적 동시성 구현(C#)Implementing Optimistic Concurrency with the SqlDataSource (C#)
- SqlDataSource 컨트롤을 사용하여 데이터 쿼리(VB)Querying Data with the SqlDataSource Control (VB)
- SqlDataSource와 함께 매개 변수가 있는 쿼리 사용(VB)Using Parameterized Queries with the SqlDataSource (VB)
- SqlDataSource를 사용하여 데이터 삽입, 업데이트 및 삭제(VB)Inserting, Updating, and Deleting Data with the SqlDataSource (VB)
- SqlDataSource를 사용하여 낙관적 동시성 구현(VB)Implementing Optimistic Concurrency with the SqlDataSource (VB)
GridView 향상Enhancing the GridView
- 라디오 단추의 GridView 열 추가(C#)Adding a GridView Column of Radio Buttons (C#)
- 확인란의 GridView 열 추가(C#)Adding a GridView Column of Checkboxes (C#)
- GridView의 바닥글에서 새 레코드 삽입(C#)Inserting a New Record from the GridView's Footer (C#)
- 라디오 단추의 GridView 열 추가(VB)Adding a GridView Column of Radio Buttons (VB)
- 확인란의 GridView 열 추가(VB)Adding a GridView Column of Checkboxes (VB)
- GridView의 바닥글에서 새 레코드 삽입(VB)Inserting a New Record from the GridView's Footer (VB)
이진 파일 작업Working with Binary Files
- 파일 업로드(C#)Uploading Files (C#)
- 데이터 웹 컨트롤에 이진 데이터 표시(C#)Displaying Binary Data in the Data Web Controls (C#)
- 새 레코드를 추가할 때 파일 업로드 옵션 포함(C#)Including a File Upload Option When Adding a New Record (C#)
- 기존 이진 데이터 업데이트 및 삭제(C#)Updating and Deleting Existing Binary Data (C#)
- 파일 업로드(VB)Uploading Files (VB)
- 데이터 웹 컨트롤에 이진 데이터 표시(VB)Displaying Binary Data in the Data Web Controls (VB)
- 새 레코드를 추가할 때 파일 업로드 옵션 포함(VB)Including a File Upload Option When Adding a New Record (VB)
- 기존 이진 데이터 업데이트 및 삭제(VB)Updating and Deleting Existing Binary Data (VB)
-
- ObjectDataSource를 사용하여 데이터 캐싱(C#)Caching Data with the ObjectDataSource (C#)
- 아키텍처에서 데이터 캐싱(C#)Caching Data in the Architecture (C#)
- 애플리케이션 시작 시 데이터 캐싱(C#)Caching Data at Application Startup (C#)
- SQL 캐시 종속성 사용(C#)Using SQL Cache Dependencies (C#)
- ObjectDataSource를 사용하여 데이터 캐싱(VB)Caching Data with the ObjectDataSource (VB)
- 아키텍처에서 데이터 캐싱(VB)Caching Data in the Architecture (VB)
- 애플리케이션 시작 시 데이터 캐싱(VB)Caching Data at Application Startup (VB)
- SQL 캐시 종속성 사용(VB)Using SQL Cache Dependencies (VB)
일괄 처리된 데이터 사용Working with Batched Data
- 트랜잭션 내에서 래핑된 데이터베이스 수정(C#)Wrapping Database Modifications within a Transaction (C#)
- 일괄 업데이트(C#)Batch Updating (C#)
- 일괄 삭제(C#)Batch Deleting (C#)
- 일괄 삽입(C#)Batch Inserting (C#)
- 트랜잭션 내에서 래핑된 데이터베이스 수정(VB)Wrapping Database Modifications within a Transaction (VB)
- 일괄 업데이트(VB)Batch Updating (VB)
- 일괄 삭제(VB)Batch Deleting (VB)
- 일괄 삽입(VB)Batch Inserting (VB)
고급 데이터 액세스 시나리오Advanced Data Access Scenarios
- 형식화된 데이터 세트의 Tableadapter에 대한 새로운 저장 프로시저 만들기(C#)Creating New Stored Procedures for the Typed DataSet's TableAdapters (C#)
- 형식화된 데이터 세트의 Tableadapter에 대한 기존 저장 프로시저 사용(C#)Using Existing Stored Procedures for the Typed DataSet's TableAdapters (C#)
- JOIN을 사용하도록 TableAdapter 업데이트(C#)Updating the TableAdapter to Use JOINs (C#)
- 추가 DataTable 열 추가(C#)Adding Additional DataTable Columns (C#)
- 계산 열 작업(C#)Working with Computed Columns (C#)
- 데이터 액세스 레이어의 연결 및 명령 수준 설정 구성(C#)Configuring the Data Access Layer's Connection- and Command-Level Settings (C#)
- 연결 문자열 및 기타 구성 정보 보호(C#)Protecting Connection Strings and Other Configuration Information (C#)
- 저장 프로시저 디버깅(C#)Debugging Stored Procedures (C#)
- 관리 코드를 사용하여 저장 프로시저 및 사용자 정의 함수 만들기(C#)Creating Stored Procedures and User-Defined Functions with Managed Code (C#)
- 형식화된 데이터 세트의 Tableadapter에 대한 새로운 저장 프로시저 만들기(VB)Creating New Stored Procedures for the Typed DataSet's TableAdapters (VB)
- 형식화된 데이터 세트의 Tableadapter에 대한 기존 저장 프로시저 사용(VB)Using Existing Stored Procedures for the Typed DataSet's TableAdapters (VB)
- JOIN을 사용하도록 TableAdapter 업데이트(VB)Updating the TableAdapter to Use JOINs (VB)
- 추가 DataTable 열 추가(VB)Adding Additional DataTable Columns (VB)
- 계산 열 작업(VB)Working with Computed Columns (VB)
- 데이터 액세스 레이어의 연결 및 명령 수준 설정 구성(VB)Configuring the Data Access Layer's Connection- and Command-Level Settings (VB)
- 연결 문자열 및 기타 구성 정보 보호(VB)Protecting Connection Strings and Other Configuration Information (VB)
- 저장 프로시저 디버깅(VB)Debugging Stored Procedures (VB)
- 관리 코드를 사용하여 저장 프로시저 및 사용자 정의 함수 만들기(VB)Creating Stored Procedures and User-Defined Functions with Managed Code (VB)