Getting Checked Exception While Running A Sql Program
import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.io.PrintWriter; import java.sql.*; import java.net.*; public class connection { JTextField textfe
Solution 1:
The driver class is com.microsoft.sqlserver.jdbc.SQLServerDriver and not com.microsoft.sqlserver.jdbc. Try to use:
Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");
Post a Comment for "Getting Checked Exception While Running A Sql Program"