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

正文內(nèi)容

基于net合同管理系統(tǒng)的設(shè)計及實(shí)現(xiàn)畢業(yè)論文-資料下載頁

2025-05-27 18:06本頁面
  

【正文】 Text=”退出”DataGridDgd_product主要代碼:public partial class product : {public void BindGrid() { string settings = ([SqlServices])。 settings = 。 SqlConnection = new SqlConnection(settings)。 //創(chuàng)建數(shù)據(jù)庫連接 SqlDataAdapter da = new SqlDataAdapter(select * from product, )。 DataSet ds = new DataSet()。 (ds)。 = ds。 ()。protected void Btn_add_Click(object sender, e) {string settings = ([SqlServices])。 settings = 。 SqlConnection = new SqlConnection(settings)。 SqlCommand cm = new SqlCommand(insert_product_1, )。 = 。 …… ()。 try { ()。 ()。 } catch (SqlException) { = 添加失敗。 [color] = red。 } ()。 }private void Cv_id_ServerValidate(object source, args) {string settings = ([SqlServices])。 SqlConnection = new SqlConnection(settings)。 ()。SqlCommand cm = new SqlCommand(select * from product where Product_id=@Product_id, )。 (@Product_id, , 10)。 [@Product_id].Value = 。 SqlDataReader dr = ()。 if (()) { = false。 } else { = true。 } ()。}public void DataGrid_update(object sender, DataGridCommandEventArgs e) { string settings = ([SqlServices])。 settings = 。 SqlConnection = new SqlConnection(settings)。 string strsql = update product set Product_name=@Product_name,Product_describe=@Product_describe where Product_id=@Product_id。 SqlCommand cm = new SqlCommand(strsql, )。 …… [@Product_id].Value = [(int)]。 ()。 try { ()。 = 編輯成功。 = 1。 } catch (SqlException) { = 編輯失敗。 [color] = red。 } ()。 BindGrid()。 }public void DataGrid_delete(object sender, DataGridCommandEventArgs e) {string settings =([SqlServices])。 settings = 。 SqlConnection = new SqlConnection(settings)。 if (Session[User_power].ToString() == 0) { string strsql = delete from product where Product_id=@productid。 SqlCommand cm = new SqlCommand(strsql, )。 (new SqlParameter(@productid, , 10))。 [@productid].Value = [(int)]。 ()。 try { ()。 = 刪除成功。 } catch (SqlException) { = 刪除失敗。 [color] = red。 } ()。 BindGrid()。 } }} 合同管理模塊。 合同管理頁面單擊合同對應(yīng)的“修改”。 合同修改頁面單擊“添加新合同”鏈接,進(jìn)入添加新合同頁面,輸入新添加合同的詳細(xì)信息。 添加新合同 合同管理界面控件及其屬性控 件ID屬 性TextBoxTbx_contractid默認(rèn)CustomValidatorCv_contractControlToValidate=” Tbx_contractid”ErrorMessage=”此合同已存在”DropDownListDdlcustomer默認(rèn)CustomValidatorCv_customeControlToValidate=” Tbx_customer”ErrorMessage=”此客戶不存在“DropDownListDdlproduct默認(rèn)DropDownListDdlstateasp:ListItem Value=”0”簽署態(tài)/asp:ListItemasp:ListItem Value=”1”簽署態(tài)/asp:ListItemasp:ListItem Value=”2”簽署態(tài)/asp:ListItemTextBoxTbx_date1默認(rèn)TextBoxTbx_date3默認(rèn)TextBoxTbx_date2Text=”增加新的投票項目”TextBoxTbx_person默認(rèn)TextBoxTbx_allmon默認(rèn)TextBoxTbx_count1默認(rèn)TextBoxTbx_count3默認(rèn)TextBoxTbx_price默認(rèn)LabelLbl_note默認(rèn)ButtonBtn_addOnClick=”Btn_add_Click”Text=”添加”ButtonBtn_resetOnClick=”Btn_exit_Click”Text=”重置”ButtonBtn_exitOnClick=”Btn_exit_Click”Text=”返回”此模塊共分兩個子模塊,分別為合同管理模塊和合同修改模塊其主要代碼如下:(1)合同管理模塊:public partial class contract : {public void BindGrid() { string settings = ([SqlServices])。 settings = 。 SqlConnection = new SqlConnection(settings)。 //創(chuàng)建數(shù)據(jù)庫連接 SqlDataAdapter da = new SqlDataAdapter(select * from contract, )。 DataSet ds = new DataSet()。 (ds)。 = ds。 ()。}}(2)合同修改模塊:public partial class updatecontract : {public void display() { string settings = ([SqlServices])。 settings = 。 SqlConnection = new SqlConnection(settings)。 //創(chuàng)建數(shù)據(jù)庫連接 string strsql = select * from contract,contract_detail where =@Contract_id and contract.Contract_id=。 SqlCommand cm = new SqlCommand(strsql, )。 (new SqlParameter(@Contract_id, , 10))。 [@Contract_id].Value = [Contract_id]。 ()。 SqlDataReader dr = ()。 if (()) { …… } else { = error!。 } ()。 } protected void Btn_update_Click(object sender, e) { string settings = ([SqlServices])。 settings = 。 SqlConnection = new SqlConnection(settings)。 //創(chuàng)建數(shù)據(jù)庫連接 if () { ()。 SqlCommand cm = new SqlCommand(update_contract_1, )。 = 。 try { (new SqlParameter(@Contract_id, , 10))。 …… ()。 = 修改成功。 } catch { = 修改失敗。 [color] = red。 } SqlCommand cm1 = new SqlCommand(update_contract_detail_1, )。 = 。 try { (new SqlParameter(@Contract_id, , 10))。 …… [@Contract_id].Value = [Contract_id]。 [@Product_id].Value = 。 [@Product_book].Value = 。 [@Product_send].Value = 。 [@Product_price].Value = 。
點(diǎn)擊復(fù)制文檔內(nèi)容
規(guī)章制度相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1