tailieunhanh - Beginning C# 2008 Databases From Novice to Professional phần 5

Cửa sổ tiếp theo sẽ nhắc cho tên nguồn dữ liệu và máy chủ. Xác định giá trị cho Name và Server như NorthwindOdbc và \ SQLEXPRESS, tương ứng, như thể hiện trong hình 9-10, và sau đó nhấp vào Tiếp theo. Create New Data Source Wizard bắt đầu. Thực hiện theo hướng dẫn của nó cẩn thận! Đầu tiên, chọn các trình điều khiển SQL Server, thứ hai, nhấn Finish | CHAPTER 9 GETTING TO KNOW 179 Figure 9-7. Administrative Tools Data Sources ODBC 3. When the ODBC Data Source Administrator window opens click the User DSN tab and then click Add see Figure 9-8 . Figure 9-8. ODBC Data Source Administrator dialog box 180 CHAPTER 9 GETTING TO KNOW 4. The Create New Data Source wizard starts. Follow its instructions carefully First select the SQL Server driver second click Finish see Figure 9-9 . Figure 9-9. Create New Data Source wizard 5. The next window prompts for the data source name and server. Specify the values for Name and Server as NorthwindOdbc and . sqlexpress respectively as shown in Figure 9-10 and then click Next. Figure 9-10. Specifying the data source name and SQL Server to connect to CHAPTER 9 GETTING TO KNOW 181 6. Accept the defaults in the authentication window by clicking Next see Figure 9-11 . Figure 9-11. Specifying SQL Server authentication 7. In the next window check the Change the default database to option select the Northwind database from the provided drop-down list and click Next see Figure 9-12 . Figure 9-12. Specifying the default .

crossorigin="anonymous">
Đã 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.