freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

學(xué)生在線(xiàn)答疑系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)-資料下載頁(yè)

2025-07-28 14:48本頁(yè)面
  

【正文】 tring poItem) { po_item = poItem。 } public String getPo_title() { return po_title。 } public void setPo_title(String poTitle) { po_title = poTitle。 } public String getPo_text() { return po_text。 } public void setPo_text(String poText) { po_text = poText。 } public String getPo_time() { return po_time。 } public void setPo_time(String poTime) { po_time = poTime。 } public String getUse_name() { return use_name。 } public void setUse_name(String useName) { use_name = useName。 }}(1)用戶(hù)操作類(lèi)public class Ouser implements Iuser { // 注冊(cè)一個(gè)普通用戶(hù)賬號(hào) public boolean insertUser(user use) { Statement stmt = null。 int res = 0。 String sql = insert into user(use_name,use_pwd,use_sex,use_img,use_radio) values(39。 + () + 39。,39。 + () + 39。,39。 + () + 39。,39。 + () + 39。,39。+()
+39。)。 try { Connection conn = ()。 stmt = ()。 res = (sql)。 } catch (SQLException e) { // TODO Autogenerated catch block ()。 } if (res == 0) { return false。 } else { return true。 } } // 刪除一個(gè)用戶(hù) public boolean deleteUser(user use) { Statement stmt = null。 int res = 0。 String sql = delete from user where use_no=39。 + () + 39。 try { Connection conn = ()。 stmt = ()。 res = (sql)。 } catch (SQLException e) { // TODO Autogenerated catch block ()。 } if (res == 0) { return false。 } else { return true。 } } // 用戶(hù)登錄時(shí)的驗(yàn)證 public Listuser getUser(user use) { Statement stmt = null。 ResultSet res = null。 String sql = select * from user where use_name=39。 + () //139。 or 39。1=1 + 39。 and use_pwd=39。 + () + 39。 and
use_radio=39。+()+39。 Listuser list = null。 user u = null。 try { Connection conn = ()。 stmt = ()。 res = (sql)。 list = new ArrayListuser()。 while (()) { u = new user()。 ((1))。 ((2))。 ((3))。 ((4))。 ((5))。 ((6))。 (u)。 } } catch (SQLException e) { // TODO Autogenerated catch block ()。 } return list。 } // 管理員查詢(xún)所有用戶(hù)信息 public Listuser getUserList() { Statement stmt = null。 ResultSet res = null。 String sql = select * from user。 Listuser list1 = null。 user s = null。 try { Connection conn = ()。 stmt = ()。 res = (sql)。 list1 = new ArrayListuser()。 while (()) { s = new user()。 ((1))。 ((2))。 ((3))。 ((4))。 ((5))。 (s)。 } } catch (SQLException e) { // TODO Autogenerated catch block ()。 } return list1。 } public boolean selectOne(String name){ Connection conn=()。 Statement stmt=null。 String sql=select * from user where use_name=39。+name+39。 ResultSet res=null。 boolean b = true。 try { stmt=()。 res=(sql)。 if(()){ b = true。 }else{ b = false。 } } catch (SQLException e) { // TODO Autogenerated catch block ()。 } return b。 } public user returnSelectOne(String name){ Connection conn=()。 Statement stmt=null。 String sql=select * from user where use_name=39。+name+39。 ResultSet res=null。 user use = new user()。 try { stmt=()。 res=(sql)。 while (()) { use = new user()。 ((1))。 ((2))。 ((3))。 ((4))。 ((5))。 } } catch (SQLException e) { // TODO Autogenerated catch block ()。 } return use。 } //根據(jù)傳入的course表中的用戶(hù)外鍵,找到有關(guān)用戶(hù)的詳細(xì)信息; public user returnSelectOne1(int u_no){ Connection conn=()。 Statement stmt=null。 String sql=select * from user where use_no=39。+u_no+39。 ResultSet res=null。 user use = new user()。 try { stmt=()。 res=(sql)。 while (()) { use = new user()。 ((1))。 ((2))。 ((3))。 ((4))。 ((5))。 } } catch (SQLException e) { // TODO Autogenerated catch block ()。 } return use。 } public user returnSelectOne2(int use_no){ Connection conn=()。 Statement stmt=null。 String sql=select * from user where use_no=39。+use_no+39。 ResultSet res=null。 user use = new user()。 try { stmt=()。 res=(sql)。 while (()) { use = new user()。 ((1))。 ((2))。 ((3))。 ((4))。 ((5))。 } } catch (SQLException e) { // TODO Autogenerated catch block ()。 } return use。 } public boolean update(user use) { // TODO Autogenerated method stub return false。
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評(píng)公示相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1