⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 hailfellowlinklist.aspx

📁 易想商城系统
💻 ASPX
字号:
<%@ Page Language="C#" MasterPageFile="~/Admin/Masterpage/Page.Master" Theme="Admin" AutoEventWireup="true" CodeBehind="HailFellowLinkList.aspx.cs" Inherits="YXShop.Web.Admin.Accessories.HailFellowLinkList" %>

<asp:Content ID="Contentheand" runat="server" ContentPlaceHolderID="head">
<script language="javascript">

/*单个删除*/
function Mdelete(id)
{
   if(confirm("删除后将不可再恢复,您确认要删除吗?"))
    {
     var content=YXShop.Web.Admin.Accessories.HailFellowLinkList.BetchCardDel(id.toString());
      if(content.value=="")
      {
       DeleteRow();
       }
       else
       {
       alert("删除失败!");
       }
    }
}

/*批量删除*/
function Abuth()
{
   if(confirm("删除后将不可再恢复,您确认要删除所选择吗?"))
   {
       var List="";
       var strID = document.getElementsByName("OCW_ID");
       for(var i=0;i<strID.length;i++)
       {
           if(strID[i].checked)
           {
                List+=strID[i].value+",";
           }
       }
       var content=YXShop.Web.Admin.Accessories.HailFellowLinkList.BetchCardDel(List);
       if(content.value=="")
      {
      
       }
       else
       {
       alert("删除失败!");
       }
}
}
</script>
 <script src="../JS/FormSelected.js" type="text/javascript"></script>
</asp:Content>

<asp:Content ID="Content1" runat="server" ContentPlaceHolderID="ContentPlaceTitle">
友情链接列表
</asp:Content>

<asp:Content ID="Content2" runat="server" ContentPlaceHolderID=ContentPlaceHolderMain>
<asp:GridView ID="dgTBHailFellowLink" runat="server" AutoGenerateColumns="False"  DataKeyNames="ID" AllowPaging="True" 
 CssClass="taStyle" GridLines="None" BorderWidth="0px" CellPadding="0" CellSpacing="1"  PageSize="20" Width="100%" OnRowDataBound="dgTBHailFellowLink_RowDataBound" >
           <Columns>
              <asp:TemplateField HeaderText="选择">
                <ItemTemplate>
                   <input id="ID" name="ID" type="checkbox" style="border: 0" value='<%#Eval("ID") %>' />
                </ItemTemplate>
              </asp:TemplateField>
               <asp:BoundField DataField="SiteName"  SortExpression ="SiteName"  HeaderText="标题"   >
                   <ItemStyle HorizontalAlign="Center" />
               </asp:BoundField>
               <asp:BoundField SortExpression ="SiteOnClick" DataField="SiteOnClick" HeaderText="点击数">
                   <ItemStyle HorizontalAlign="Center" Wrap="False" />
               </asp:BoundField>
               <asp:BoundField SortExpression ="SiteLevel" DataField="SiteLevel" HeaderText="优先级">
                   <ItemStyle HorizontalAlign="Center" Wrap="False" />
               </asp:BoundField>
               <asp:BoundField SortExpression ="SiteState" DataField="SiteState" HeaderText="状态">
                   <ItemStyle HorizontalAlign="Center" Wrap="False" />
               </asp:BoundField>
               <asp:BoundField HeaderText="操作">
                   <ItemStyle HorizontalAlign="Center" Wrap="False" />
               </asp:BoundField>
               
		</Columns>
		<RowStyle Wrap="True" CssClass="Rlist" Height="20px" />
		<AlternatingRowStyle Wrap="True" CssClass="Alist" Height="20px" />
		<HeaderStyle CssClass="head"/>
		<EmptyDataTemplate>
         <div align="center"><span class="SubTitle"> 没有找到相关信息。</span></div>
    </EmptyDataTemplate>
    <PagerSettings Visible="False" />
	</asp:GridView>
	<table width="100%" border="0" align="right" bgcolor="white">
	<tr>
	  <td><input type="checkbox" id="chkAll" onclick="CheckAll(this.form);" />全选/取消
                <input type="checkbox" id="BackAll" onclick="CheckBack(this.form);" />返选
                <input id="Button1" type="button" onclick="Abuth()" value="删除所选卡" /></td>
		<td align="right" class="noprint"><% 
		if (ps!=null)
			Response.Write(ps.navStr);
		%></td>
	</tr>
</table>
</asp:Content>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -