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
2. Click Add
3. Choose SQL Sever
4. Fill in the data source name and server name (local address)
The local address can be found on the SQL Sever startup page
5. Select SWL Server verification of user login ID and password
Fill in the name of your connection to the database and click Next.
6. Change the default database
7. Test the connection
connection succeeded! Indicates that the ODBC data source has been configured.
If it helps you, please give the blogger a like~