My connection program is as follows: -------------------------------------------- - <% @ Page ContentType = "Text / HTML; Charset = GB2312"%> <% class.forname ("com.microsoft.jdbc.sqlser.sqlserverdriver). NewInstance (); string url =" JDBC: Microsoft: sqlserver: // localhost: 1433; DatabaseName = questionnaire "; Connection con = DriverManager.getConnection (url," sa "," 801208161 "); Statement smt = con.createStatement (ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_UPDATABLE); ResultSet rs; String SQL;%> --------------------------------------------- ---------