In the following example, the sample code makes a connection to the SQL Server 2005 AdventureWorks database, and then retrieves a single row of data from the DataTypesTable test table.
英
美
- 在下面的实例中,示例代码将建立到SQL Server 2005 AdventureWorks数据库的连接,然后从DataTypesTable测试表中检索一行数据。