/// <summary> /// win弹窗的修改更新 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> protected void BtnMod_DirectClick(object sender, DirectEventArgs e) { BG_Policy bg_policy = BG_PolicyManager.GetBG_PolicyByPLID(Convert.ToInt32(TFID.Text)); bg_policy.POrder = Convert.ToInt32(TFPOrder.Text); bg_policy.PTime = Convert.ToDateTime(TFPTime.Text); bg_policy.PFrom = TFPFrom.Text; bg_policy.PType = TFcmb.SelectedItem.Value.ToString(); bg_policy.PTitle = TFPTitle.Text; bg_policy.PContent = HEdit.Text; bg_policy.PStatus = "未发布"; BG_PolicyManager.ModifyBG_Policy(bg_policy); PolicyDataBind(); WinEdit.Hide(); TFPOrder.Clear(); TFPTime.Clear(); TFPFrom.Clear(); TFPTitle.Clear(); //HEdit.Clear(); //TFPOrder.Text = " "; //TFPTime.Text = " "; //TFPFrom.Text = " "; //TFPType.Text = " "; //TFPTitle.Text = " "; //HEdit.Text = " "; }
/// <summary> /// win弹窗取消 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> protected void BtnCanc_DirectClick(object sender, DirectEventArgs e) { WinEdit.Hide(); }