default.aspx

来自「水晶报表详细资料水晶报表详细资料水晶报表详细资料」· ASPX 代码 · 共 76 行

ASPX
76
字号
<%@ 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>
<script language="javascript" type="text/javascript">
<!--

function TABLE1_onclick() {

}

// -->
</script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table style="width: 458px; border-top-style: ridge; border-right-style: ridge; border-left-style: ridge;
            height: 267px; border-bottom-style: ridge" id="TABLE1" language="javascript" onclick="return TABLE1_onclick()">
            <tr>
                <td align="right" style="width: 85px; height: 18px;">
                    <span style="font-size: 11pt">
                        <asp:Label ID="Label1" runat="server" Text="姓名(比如小林):" Font-Size="10pt" Width="112px"></asp:Label></span></td>
                <td style="width: 100px; height: 18px;">
                    <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox></td>
            </tr>
            <tr>
                <td align="right" style="width: 85px">
                    <span style="font-size: 11pt">
                        <asp:Label ID="Label2" runat="server" Text="性别(比如:男):" Font-Size="9pt" Width="120px"></asp:Label></span></td>
                <td style="width: 100px">
                    <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align="right" style="width: 85px">
                    <span style="font-size: 11pt">
                        <asp:Label ID="Label3" runat="server" Text="籍贯(吉林省通化市):" Font-Size="9pt"></asp:Label></span></td>
                <td style="width: 100px">
                    <asp:TextBox ID="TextBox3" runat="server"></asp:TextBox></td>
            </tr>
            <tr>
                <td style="width: 85px; height: 19px;">
                </td>
                <td style="width: 100px; height: 19px;">
                    <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="添加" Width="70px" /></td>
            </tr>
            <tr>
                <td align="center" colspan="2" style="height: 128px">
                    <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False" OnPageIndexChanging="GridView1_PageIndexChanging"
                        BackColor="#DEBA84" BorderColor="#DEBA84" BorderStyle="None" BorderWidth="1px"
                        CellPadding="3" CellSpacing="2" PageSize="4" Font-Size="10pt">
                        <FooterStyle BackColor="#F7DFB5" ForeColor="#8C4510" />
                        <Columns>
                            <asp:BoundField DataField="id" HeaderText="用户ID" />
                            <asp:BoundField DataField="name" HeaderText="姓名" />
                            <asp:BoundField DataField="sex" HeaderText="性别" />
                            <asp:BoundField DataField="nPlace" HeaderText="籍贯" />
                        </Columns>
                        <RowStyle BackColor="#FFF7E7" ForeColor="#8C4510" />
                        <SelectedRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="White" />
                        <PagerStyle ForeColor="#8C4510" HorizontalAlign="Center" />
                        <HeaderStyle BackColor="#A55129" Font-Bold="True" ForeColor="White" />
                    </asp:GridView>
                </td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>

⌨️ 快捷键说明

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