//删除操作
 protected void btnDelete_Click(object sender, EventArgs e)
 {
     ChkAdminLevel("sys_channel", DTEnums.ActionEnum.Delete.ToString()); //检查权限
     TOURISM.BLL.sys_channel bll = new TOURISM.BLL.sys_channel();
     BLL.url_rewrite bll2 = new BLL.url_rewrite();
     //批量删除
     for (int i = 0; i < rptList.Items.Count; i++)
     {
         int id = Convert.ToInt32(((HiddenField)rptList.Items[i].FindControl("hidId")).Value);
         CheckBox cb = (CheckBox)rptList.Items[i].FindControl("chkId");
         if (cb.Checked)
         {
             bll.Delete(id);
             //删除URL映射表
             bll2.Remove("channel", id.ToString());
         }
     }
     JscriptMsg("批量删除成功啦!", Utils.CombUrlTxt("sys_channel_list.aspx", "keywords={0}", txtKeywords.Text.Trim()), "Success", "parent.loadChannelTree");
 }