Web/admin/OrderPrint.aspx

(完整代码) 2KB

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="OrderPrint.aspx.cs" Inherits="Web.admin.OrderPrint" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
    <style>  
 @media print  
 {     
     .Noprint{DISPLAY:none;}     
     .PageNext{PAGE-BREAK-AFTER:always}     
 }   
</style>  
</head>
<body>
    <form id="form1" runat="server">
    <div>
         
                    <table class="result-tab" width="100%">
                        <asp:Repeater ID="MyRepeater" runat="server">
                            <HeaderTemplate>
                        <tr>
                            <%--<th class="tc" width="5%"><input class="allChoose" name="" type="checkbox"></th>--%>
                             <th>序号</th>
                            <th>商品名称</th>             
                            <th>数量</th>
                        </tr>
                        </HeaderTemplate>
                    
                        <ItemTemplate>
                        <tr>
                           <%-- <td class="tc"><input name="id[]" value="58" type="checkbox"></td>
                            <td>
                                <input name="ids[]" value="58" type="hidden">
                                <input class="common-input sort-input" name="ord[]" value="<%#Eval("orderby") %>" type="text">
                            </td>  --%>     
                          <td><%# Container.ItemIndex + 1 + (((Convert.ToInt32(Request.QueryString["Page"])==0?1:Convert.ToInt32(Request.QueryString["Page"]))-1)*10)%></td>                 
                         <td ><%#GetGoodsName(Eval("goods").ToString()) %></td>      
                              <td><%#Eval("expect_num")%></td>                    
                          
                        </tr>
                            </ItemTemplate>
                        </asp:Repeater>
                    </table>
        <input type="button" value="打印" onclick="javascript: window.print()" />
    </div>
    </form>
</body>
</html>

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。