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

📄 detailcoupon.aspx

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


<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">

    <script src="../Ajax/ProductDel.js" type="text/jscript"></script>
<SCRIPT language="javascript">
       function SelectAll(tempControl)
       {
           //将除头模板中的其它所有的CheckBox取反 
            var theBox=tempControl;
             xState=theBox.checked;    

            elem=theBox.form.elements;
            for(i=0;i<elem.length;i++)
            if(elem[i].type=='checkbox' && elem[i].id!=theBox.id)
             {
                  if(elem[i].checked!=xState)
                        elem[i].click();
            }
  } 
  function Mdelete(BID)
  {
    if(confirm("删除后将不可再恢复,您确认要删除吗?"))
    {
        YXShop.Web.Admin.Consumer.FundsDetail.GiftDel(BID);
        DeleteRow();
    }
 }

</SCRIPT>


</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolderMain" runat="Server">

    
    <asp:GridView ID="dg2" runat="server" AutoGenerateColumns="False" 
        DataKeyNames="ID" CssClass="taStyle" GridLines="None" CellPadding="1" CellSpacing="1" 
        AllowPaging="True"  Width="100%" onrowdatabound="dg2_RowDataBound">
        <Columns>
            <asp:TemplateField HeaderText="交易时间">
                <ItemTemplate>
                    <asp:Label ID="Label22" runat="server" Text='<%# Convert.ToDateTime(Eval("NoteDate")).ToString("yyyy年MM月dd日") %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:BoundField HeaderText="增加点券数" />
            <asp:BoundField HeaderText="减少点券数" />
            <asp:BoundField HeaderText="操作员" DataField="NoteName" />
            <asp:TemplateField HeaderText="备注/说明">
                <ItemTemplate>
                    <asp:Label ID="Label1" runat="server" Text='<%# jiequ(Convert.ToString(DataBinder.Eval(Container.DataItem, "Causation")))%>'></asp:Label>
   
                </ItemTemplate>
            </asp:TemplateField>
                                     <asp:TemplateField HeaderText="查看" FooterStyle-HorizontalAlign="Center">
                <ItemTemplate>
                    <a href="DetailcouponLook.aspx?Pro_ID=<%# Eval("UserID") %>&Pro_IDi=<%# Eval("ID")%>"> 查看</a> 
                </ItemTemplate>
                <FooterStyle HorizontalAlign="Center"></FooterStyle>
            </asp:TemplateField>
        </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" class="noprint">
        <tr>
            <td align="center">
                <% if (ps != null) Response.Write(ps.navStr); %>
            </td>
        </tr>
    </table>                            


        <table>
<tr>
<td>总收入点:<asp:Label ID="Label50" runat="server" ForeColor="Blue"></asp:Label>
    点&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 总支出点:<asp:Label ID="Label51" runat="server" 
        ForeColor="Blue"></asp:Label>
    点&nbsp;&nbsp;&nbsp;&nbsp; 剩余点券:<asp:Label ID="Label52" runat="server" 
        ForeColor="Red"></asp:Label>
    点</td>
</tr>
</table>
  

     <table width="100%" border="0" class="noprint">
        <tr>
            <td align="center">
                如果有效期明细记录太多,影响了系统性能,可以删除一定时间段前的记录以加快速度。但可能会带来会员在查看以前收过费的信息时重复收费(这样会引发众多消费纠纷问题),无法通过有效期明细记录来真实分析会员的消费习惯等问题!</td>
        </tr>
        <tr>
            <td align="center">
                时间范围:<asp:RadioButtonList ID="sj" runat="server" RepeatDirection="Horizontal">
             <asp:ListItem  Text="10天前" Value="0" Selected="True"></asp:ListItem>
             <asp:ListItem Text="1月前" Value="1"  ></asp:ListItem>
             <asp:ListItem Text="2月前" Value="2"  ></asp:ListItem>
             <asp:ListItem Text="3月前" Value="3"  ></asp:ListItem>
             <asp:ListItem Text="6月前" Value="4"  ></asp:ListItem>
             <asp:ListItem Text="1年前" Value="5"  ></asp:ListItem>
        </asp:RadioButtonList>
                <asp:Button ID="Button1" runat="server" Text="删除" Width="65px" 
                    onclick="Button1_Click" />
            </td>
        </tr>
    </table>
     
</asp:Content>




⌨️ 快捷键说明

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