; return buf.toString(); } return strSource; } // public static void main(String[] args) throws Exception{ // DbAction d = new DbAction(); // if (d.conn!=null)System.out.println("success"); // String sql = d.sqlSearch("codesqlsle"); // System.out.println(sql); // //ResultSet rs = d.dbSelect(sql); // //if (rs!=null)System.out.println("success"); //// try{ //// Statement stmt=conn.createStatement(); //// String strSQL = "SELECT CODEID FROM JS_CODE_TBL"; //// ResultSet rs = stmt.executeQuery(strSQL); //// if(rs==null)System.out.println("creat rs error"); //// while(rs.next()){ //// String e=rs.getString("CODEID"); //// System.out.println(e); //// } //// rs.close(); //// stmt.close(); //// } //// catch(SQLException e){ //// System.out.println("error"); //// } // String i = "-123456789012.311111111111111111111"; // String j = moneychk(i); // System.out.println(j); // } }
上一页 [1] [2] [3] [4] |