コード例 #1
0
ファイル: yyddDetail.aspx.cs プロジェクト: yidane/51wine
 protected void btnSubmit_Click(object sender, EventArgs e)
 {
     Model.wx_fc_yyInfo yiModel = yiBll.GetModel(id);
     yiModel.kfRemark    = this.txtkfremark.Text;
     yiModel.orderStatus = this.ddlStatus.SelectedItem.Text;
     yiBll.Update(yiModel);
     JscriptMsg("修改信息成功!", "yyddMgr.aspx?id=" + fid, "Success");
 }
コード例 #2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     yiModel = new Model.wx_fc_yyInfo();
     wid     = MXRequest.GetQueryInt("wid");
     fid     = MXRequest.GetQueryInt("fid");
     openid  = MyCommFun.RequestOpenid();
     if (!IsPostBack)
     {
         int yid = MXRequest.GetQueryInt("yid");
         if (yid > 0)
         {
             yiModel   = yiBll.GetModel(yid);
             addOrEdit = yiModel.Id;
         }
         showInfo();
     }
 }