Ejemplo n.º 1
0
 protected void btSave_Click(object sender, EventArgs e)
 {
     try
     {
         if (!string.IsNullOrEmpty(txtcustno.Text))
         {
             var mod = new Mod_TS_CUSTFILE()
             {
                 C_NO         = txtcustno.Text, //客户编码
                 C_EXTEND1    = txtkhh.Text,    //开户行
                 C_TAXPAYERNO = txtsh.Text,     //税号
                 C_EXTEND2    = txtzh.Text,     //账号
                 C_EXTEND3    = txtdz.Text,     //地址
                 C_EXTEND4    = txttel.Text     //电话
             };
             if (ts_custfile.UpdateInfo(mod))
             {
                 WebMsg.MessageBox("保存成功");
             }
         }
     }
     catch (Exception ex)
     {
         WebMsg.MessageBox(ex.Message);
     }
 }