productlist.aspx

(开头部分) 3KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="productlist.aspx.cs" Inherits="productlist" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>无标题文档</title>
    <link href="4/Images/css1/css.css" rel="stylesheet" type="text/css">
    <script type="text/javascript">
        function dlt(id) {
            if (!confirm("您确定要删除?"))
                return;
            var num = /^[0-9]{1,20}$/;
            if (num.test(id)) {
                document.getElementById("hdID").value = id;
                document.forms[0].submit();
            }
        }
    </script>
</head>
<body>
    <form id="Form1" runat="server" name="form1">
                                <input type="hidden" runat="server" id="hdID" name="hdID" />
                                </form>
    <table class="table" cellspacing="1" cellpadding="2" width="99%" align="center" border="0">
        <tr>
            <th class="bg_tr" align="left" colspan="6" height="25">
                商品列表
            </th>
            <tr>
                <th class="td_bg" width="10%">
                    编号
                </th>
                <th class="td_bg" width="40%">
                    商品名称
                </th>
                <th class="td_bg" width="20%">
                    类别
                </th>
                <th class="td_bg" width="10%">
                    价格
                </th>
                <th class="td_bg" width="10%">
                    单位
                </th>
                <th class="td_bg" width="10%">
                    操作
                </th>
            </tr>
             <%
                                            if (InfoReader != null && InfoReader.HasRows)
                                            {
                                                while (InfoReader.Read())
                                                {%>
            <tr>
                <td class="td_bg" width="10%" align="center">
                    <%=InfoReader["sid"].ToString() %>
                </td>
                <td class="td_bg" width="40%" align="center">
                    <%=InfoReader["name"].ToString() %>
后面还有 29 行代码,购买后查看完整代码

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

AI 解读 AI

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

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