📄 a_line.java
字号:
package tour_lines;
import java.sql.*;
public class a_line
{
public String tour_line_name;
public String tour_line_intro;
public String hot_tour_line;
public Connection con;
public boolean a_exe() throws Exception {
try{
Statement statement=con.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_UPDATABLE);
String sql="insert into tour_line_info (tour_line_name,tour_line_intro,hot_tour_line) values ('"+tour_line_name+"','"+tour_line_intro+"','"+hot_tour_line+"')";
statement.executeUpdate(sql);
return true;
}catch(SQLException ee)
{
return false;
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -