private void SaveSearchInfo_Click(object sender, EventArgs e) { #region 指定条件进行短消息消除 if (this.CheckCookie()) { string sqlstring = PrivateMessages.GetDeletePrivateMessagesCondition(isnew.Checked, postdatetime.Text, msgfromlist.Text, lowerupper.Checked, subject.Text, message.Text, isupdateusernewpm.Checked); AdminVistLogs.InsertLog(this.userid, this.username, this.usergroupid, this.grouptitle, this.ip, "批量清除短消息", "删除条件是:" + sqlstring); base.RegisterStartupScript("PAGE", "window.location.href='forum_searchsm.aspx';"); } #endregion }