public void DeleteRecycle_Click(object sender, EventArgs e) { #region 回收站主题删除 if (this.CheckCookie()) { Topics.DeleteRecycleTopic(Convert.ToInt32(RecycleDay.Text)); //string topiclist = ""; //DataTable dt = Topics.GetTidForModeratorManagelogByPostdatetime(DateTime.Now.AddDays(-Convert.ToInt32(RecycleDay.Text))); //if (dt.Rows.Count > 0) //{ // foreach (DataRow dr in dt.Rows) // { // topiclist += dr["tid"].ToString() + ","; // } // TopicAdmins.DeleteTopics(topiclist.Trim(','), 0, false); //} base.RegisterStartupScript("PAGE", "window.location.href='forum_auditingtopic.aspx';"); } #endregion }