Now I get the following exception though I have downloaded the jar file from the microsoft site and saved it in the build path for eclipse.
java.sql.SQLException: No suitable driver found for...
Type: Posts; User: nadirkhan
Now I get the following exception though I have downloaded the jar file from the microsoft site and saved it in the build path for eclipse.
java.sql.SQLException: No suitable driver found for...
Here are the error messages that I get when I compile this code.
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at...
//STEP 1. Import required packages
import java.sql.*;
public class JDBCCreateTable {
// JDBC driver name and database URL
// Database is called Student