WebUI/Default.aspx

(完整代码) 2KB

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

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" OnPageIndexChanging="GridView1_PageIndexChanging" OnRowEditing="GridView1_RowEditing" OnRowCancelingEdit="GridView1_RowCancelingEdit" OnRowUpdating="GridView1_RowUpdating" OnRowDeleting="GridView1_RowDeleting" OnRowDataBound="GridView1_RowDataBound" ShowFooter="True" CellPadding="4" ForeColor="#333333" GridLines="None" PageSize="2" >
            <Columns>
                <asp:BoundField DataField="CustomerId" HeaderText="客户编号" ReadOnly="True" />
                <asp:BoundField DataField="CompanyName" HeaderText="公司名称" />
                <asp:BoundField DataField="ContactName" HeaderText="联系人姓名" />
                <asp:BoundField DataField="ContactTitle" HeaderText="联系人职称" />
                <asp:CommandField HeaderText="编辑" ShowEditButton="True" />
                <asp:CommandField ShowDeleteButton="True" HeaderText="删除" />
                <asp:TemplateField ShowHeader="False">
                    <FooterTemplate>
                        当前为第<asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>页&nbsp; 总共<asp:Label
                            ID="Label2" runat="server" Text="Label"></asp:Label>页 &nbsp; 共有<asp:Label ID="Label3"
                                runat="server" Text="Label"></asp:Label>条记录 &nbsp; 每页显示<asp:Label ID="Label4" runat="server"
                                    Text="Label"></asp:Label>条记录<br />
                        <asp:LinkButton ID="LinkButton3" runat="server">上一页</asp:LinkButton>
                        <asp:LinkButton ID="LinkButton1" runat="server">下一页</asp:LinkButton>&nbsp;<asp:LinkButton
                            ID="LinkButton4" runat="server">首页</asp:LinkButton>
                        <asp:LinkButton ID="LinkButton2" runat="server">末页</asp:LinkButton>
                    </FooterTemplate>
                </asp:TemplateField>
            </Columns>
            <RowStyle BackColor="#EFF3FB" />
            <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
            <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
            <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <EditRowStyle BackColor="#2461BF" />
            <AlternatingRowStyle BackColor="White" />
        </asp:GridView>
    </div>
    </form>
</body>
</html>

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

AI 解读 AI

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

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