?? bulletin_amend.java
字號(hào):
package bull;
import java.sql.*;
public class bulletin_amend
{
public String bulletin_title;
public String bulletin_context;
public String bulletin_time;
public String old_title;
public Connection con;
public boolean amend_exe() throws Exception {
try{
Statement statement=con.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_UPDATABLE);
String sql="update bulletin_info set bulletin_title='"+bulletin_title+"',bulletin_context='"+bulletin_context+"',bulletin_time='"+bulletin_time+"' where bulletin_title='"+old_title+"'";
statement.executeUpdate(sql);
return true;
}catch(SQLException ee)
{
return false;
}
}
}
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -