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

Microsoft SQL Server 2005 Developer’s Guide- P29:SQL Server 2005 is a feature-rich release that provides a host of new tools and technologies for the database developer. This book is written to help database developers and DBAs become productive immediately with the new features and capabilities found in SQL Server 2005. | Chapter 8 Developing Database Applications with ADO 259 delivered as part of the SQL Server 2000 client components. ADO was delivered as part of the Visual Basic and the older pre- .NET Visual Studio Enterprise Edition which included Visual Basic and Visual C . ADO has since been succeeded by and Visual Studio 2005 which you can read about in Chapter 7. However there are still many COM-based ADO applications written in Visual Basic that connect to SQL Server. As you saw in Figure 8-2 OLE DB provides two distinctly different methods for accessing SQL Server data the OLE DB for SQL Server provider and the OLE DB provider for ODBC. ADO can work with both of these OLE DB providers. ADO takes advantage of a multilevel architecture that insulates the applications using the ADO object framework from the underlying network protocols and topology. Figure 8-3 illustrates the relationship of ADO OLE DB ODBC and the PCs networking support. At the top of the figure you can see the Visual Basic ADO application. The Visual Basic application creates and uses the various ADO objects. The ADO object framework makes calls to the appropriate OLE DB provider. If the ADO application is using the OLE DB provider for ODBC then the MSDASQL OLE DB provider will be used. If the ADO application is using the OLE DB for SQL Server provider then the SQLOLEDB provider will be used. When using the OLE DB provider for ODBC ADO loads the file which in turn loads the ODBC Driver Manager. The OLE DB provider for ODBC maps the OLE DB calls made by ADO into ODBC calls which are passed on to the ODBC Driver Manager. VB Application ActiveX Data Objects ADO OLE DB Provider for ODBC MSDASQL OLE DB Provider for SQL Server SQLOLEDB ODBC Driver Network Protocols NetBEUI TCP IP Network Topology Ethernet Figure 8-3 ADO Network architecture 260 Microsoft SQL Server 2005 Developer s Guide The ODBC Driver Manager handles loading the appropriate ODBC driver. The ODBC driver .

TỪ KHÓA LIÊN QUAN
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.