Upload Code
loading-left
loading loading loading
loading-right

Loading

Profile
No self-introduction
codes (3)
QT connect MySql database queries
no vote
Mainly in VSual Studio 2010 version in preparation qt + QT5 connection to the database code!
温瞳
2016-08-23
1
1
Travel Web Design
no vote
<%   Connection conn=null;   try   {    String strUser1=request.getParameter("user");    byte[] strname=strUser1.getBytes("ISO8859-1");       strUser1=new String(strname);    Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");    String strConn="jdbc:microsoft:sqlserver://10.200.28.124:1433;DatabaseName=travel";    String strUser="sa";    String strPassword="123";    conn=DriverManager.getConnection(strConn,strUser,strPassword);       Statement stmt=conn.createStatement();           String strSql="select * from yonghu where name='"+strUser1;       ResultSet rs=stmt.executeQuery(strSql); %>
温瞳
2016-08-23
0
1
Beihai Park C # design of the original code
no vote
                                                                                                              &
温瞳
2016-08-23
0
1
No more~