?? d_book_line.java
字號:
package book_line;
import java.sql.*;
public class d_book_line
{
public String tour_line_name;
public String user_name;
public Connection con;
public boolean delete_exe() throws Exception {
try{
Statement statement=con.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_UPDATABLE);
String sql="delete from tour_line_book where tour_line_name='"+tour_line_name+"' and user_name ='"+user_name+"'";
statement.executeUpdate(sql);
return true;
}catch(SQLException ee)
{
return false;
}
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -