Student Management System (VB)-configure ODBC data source

When we make a student management system, there are three things that must be done accurately. 1 The code is written correctly 2. The ODBC configuration is correct 3. The database connection is complete
Why configure ODBC? You can read another blog to understand what ODBC is.
Below I describe how to configure ODBC.

1. First open the ODBC data source

Insert picture description here

2. Click Add

Insert picture description here

3. Choose SQL Sever

Insert picture description here

4. Fill in the data source name and server name (local address)Insert picture description here

The local address can be found on the SQL Sever startup page
Insert picture description here

5. Select SWL Server verification of user login ID and password

Insert picture description here
Fill in the name of your connection to the database and click Next.

6. Change the default database

Insert picture description here

7. Test the connection

Insert picture description here
Insert picture description here
connection succeeded! Indicates that the ODBC data source has been configured.

If it helps you, please give the blogger a like~

Guess you like

Origin blog.csdn.net/aqiuisme/article/details/110633050