Đang chuẩn bị liên kết để tải về tài liệu:
Webmaster's Guide to the Wireless Internet part 45
Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
Webmaster's Guide to the Wireless Internet part 45. The Webmaster’s Guide to the Wireless Internet provides the Wireless Webmaster with all of the tools necessary to build the next generation Internet. Packed with the essential information they need to design, develop, and secure robust, e-commerce enabled wireless Web sites. This book is written for advanced Webmasters who are experienced with conventional Web site design and are now faced with the challenge of creating sites that fit on the display of a Web enabled phone or PDA | 412 Chapter 9 Microsoft Mobile Internet Toolkit Figure 9.47 ADO.NET Architecture .NET Data Provider Connection Command Transaction Parameters DataReader DataAdapter SelectCommand InsertCommand UpdateCommand DeleteCommand Data Set DataRelationCollection DataTableCollection DataTable DataRowCollection DataColumnCollection ConstraintCollection XML Data Providers In ADO communication with the data source is through the OLE DB providers. In ADO.NET the communication is through Data providers.ADO.NET contains two Data providers SQL Data provider OLEDB Data provider If your backend database is SQL Server you should use the SQL Data provider as it talks natively using TDS to SQL server.This results in immediate performance gains as there is no need to go through the OLE DB layer. However if you are not using SQL Server you should use the OLEDB Data provider. The OLEDB Data provider is engineered to work with most OLE DB providers.The providers listed in Table 9.3 have been tested and are known to work with ADO.NET. www.syngress.com Microsoft Mobile Internet Toolkit Chapter 9 413 Table 9.3 Supported OLE DB Providers Driver SQLOLEDB MSDAORA Microsoft.Jet.OLEDB.4.0 Provider Microsoft OLE DB Provider for SQL Server Microsoft OLE DB Provider for Oracle OLE DB Provider for Microsoft Jet Note__ It is possible to use the OLEDB Data provider even if you are using SQL server. In this case you are foregoing the benefits of talking directly to SQL server by going through additional layers by first going to the OLEDB Data provider and then going through the OLEDB provider. Figure 9.48 summarizes the discussion so far. Figure 9.48 Comparing SQLData Provider and OLEDB Data Provider www.syngress.com 414 Chapter 9 Microsoft Mobile Internet Toolkit ADO.NET DataReader A huge portion of our database access is on retrieving records and simply displaying them on the client side. For this reason ADO.NET provides the DataReader. The .