TAILIEUCHUNG - Microsoft SQL Server 2005 Developer’s Guide- P10

Microsoft SQL Server 2005 Developer’s Guide- P10:This book is the successor to the SQL Server 2000 Developer’s Guide, which was extremely successful thanks to all of the supportive SQL Server developers who bought that edition of the book. Our first thanks go to all of the people who encouraged us to write another book about Microsoft’s incredible new relational database server: SQL Server 2005. | Chapter 6 Developing Database Applications with 179 DataView Figure 6-2 The DataSet architecture When changes are made to the data contained in a DataTable object the ColumnChanging ColumnChanged RowChanging and RowChanged events are fired. When data is deleted from a DataTable object the RowDeleting and RowDeleted events are fired. New rows are added to a DataTable by calling the DataTable s NewRow method and passing it a DataRow object. The maximum number of rows that can be stored in a DataTable is 16 777 216. The DataTable is also used as a basis to create DataView objects. DataColumn The DataColumn class is located in the .NET Framework at . The DataColumn class represents the schema of a column in a DataTable object. The DataColumn class contains several properties that are used to define the type of data contained in the DataColumn object. For example the DataType property controls the type of data that can be stored in the DataColumn object the DataValue property contains the DataColumn s value the AllowDBNull property specifies whether the DataColumn can contain NULL values the MaxLength property sets the maximum length of a Text DataType and the Table property specifies the DataTable object that 180 Microsoft SQL Server 2005 Developer s Guide the DataColumn belongs to. DataColumns can be made to contain unique values by associating a UniqueConstraint object with the DataColumn object. In addition you can relate a DataColumn object to another DataColumn object by creating a DataRelation object and adding it to the DataSet s DataRelationCollection. DataRow Found in the .NET Framework at the DataRow class represents a row of data in the DataTable object. The DataRow class and the DataColumn class represent the primary objects that make up the DataTable class. The DataRow object is used to insert update and delete rows from a DataTable. Rows can be added to a DataTable by either creating a new DataRow object .

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.