/// <summary> /// 同意处理 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> protected void BtnOk_Click(object sender, EventArgs e) { DateTime Times = DateTime.Now; string Typr = "普通件"; string HistoryGuid = Request.QueryString["HistoryGuid"]; mana.InsertHandle(treeSendToBox.Value, HistoryGuid, Typr, "", "", "", 0, Convert.ToDateTime(txtEndDate.Text + " " + DateTime.Now.ToShortTimeString())); mana.UpdateReplyType(HistoryGuid, RblType.SelectedValue); mana.UpdatePublishOnWeb(HistoryGuid, RblPublishOnweb.SelectedIndex == 0 ? true : false); mana.Update(HistoryGuid, 1); mana.UpdateUserSendToBox(HistoryGuid, treeSendToBox.Value); WriteScript("refreshParent(\"\");window.close();"); }
protected void btnOnWeb_Click(object sender, EventArgs e)//发布状态 { CheckBox chkdel; for (int i = 0; i < DataGrid1.Items.Count; i++) { chkdel = (CheckBox)DataGrid1.Items[i].FindControl("chkOnWeb"); mana.UpdatePublishOnWeb(DataGrid1.DataKeys[i].ToString(), chkdel.Checked); } bindGrid(); }