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

📄 default.aspx

📁 这是asp.net^和Visual C++Sharp编写的串并口通讯的书籍 源代码
💻 ASPX
字号:
<%@ 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>
        &nbsp;<table align="center" border="0" cellpadding="0" cellspacing="0" style="width: 533px;
            height: 302px; border-left-color: #ff00ff; border-bottom-color: #ff00ff; border-top-style: ridge; border-top-color: #ff00ff; border-right-style: ridge; border-left-style: ridge; border-right-color: #ff00ff; border-bottom-style: ridge;" background="图片2 拷贝.jpg">
            <tr>
                <td colspan="2" style="height: 130px" width="100%">
                    <table border="0" cellpadding="0" cellspacing="0" width="100%" background="图片2 拷贝.jpg">
                        <tr>
                            <td align="center" colspan="1" style="width: 169px; background-image: none; " rowspan="6">
                            </td>
                            <td align="center"colspan="2">
                                <span style="font-size: 14pt; color: red"><strong>员工基本信息注册</strong></span></td>
                        </tr>
                        <tr>
                            <td align="right" style="width: 100px; height: 19px">
                                <span style="font-size: 10pt">&nbsp; 员工编号:</span></td>
                            <td style="width: 100px; height: 19px">
                                <asp:TextBox ID="TextID" runat="server"></asp:TextBox></td>
                        </tr>
                        <tr>
                            <td align="right" style="width: 100px">
                                <span style="font-size: 10pt">&nbsp; 员工姓名:</span></td>
                            <td style="width: 100px">
                                <asp:TextBox ID="TextName" runat="server"></asp:TextBox></td>
                        </tr>
                        <tr>
                            <td align="right" style="width: 100px; height: 19px">
                                <span style="font-size: 10pt">&nbsp;身份证号:</span></td>
                            <td style="width: 100px; height: 19px">
                                <asp:TextBox ID="TextNumber" runat="server"></asp:TextBox></td>
                        </tr>
                        <tr>
                            <td align="right" style="width: 100px">
                                <span style="font-size: 10pt">&nbsp; 联系电话:</span></td>
                            <td style="width: 100px">
                                <asp:TextBox ID="Textphone" runat="server"></asp:TextBox></td>
                        </tr>
                        <tr>
                            <td align="center" colspan="2" style="height: 24px">
                                <asp:Button ID="Button1" runat="server" Text="注册" Width="65px" OnClick="Button1_Click" Font-Size="9pt" /></td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td style="width: 37px; height: 127px;">
                    &nbsp;<asp:GridView ID="GridView3" runat="server" AutoGenerateColumns="False" BackColor="#DEBA84"
                        BorderColor="#DEBA84" BorderStyle="None" BorderWidth="1px" CellPadding="3" CellSpacing="2"
                        Font-Size="9pt" Width="322px">
                        <FooterStyle BackColor="#F7DFB5" ForeColor="#8C4510" />
                        <Columns>
                            <asp:BoundField DataField="EmpId" HeaderText="员工编号" />
                            <asp:BoundField DataField="EmpName" HeaderText="员工姓名" />
                            <asp:BoundField DataField="Number" HeaderText="身份证号" />
                            <asp:BoundField DataField="Phone" 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>
                <td style="width: 146px; height: 127px;">
                    &nbsp;<asp:GridView ID="GridView4" runat="server" AutoGenerateColumns="False" BackColor="LightGoldenrodYellow"
                        BorderColor="Tan" BorderWidth="1px" CellPadding="2" Font-Size="9pt" ForeColor="Black"
                        GridLines="None" Height="182px" Width="177px">
                        <FooterStyle BackColor="Tan" />
                        <Columns>
                            <asp:BoundField HeaderText="员工编号" DataField="employeeID" />
                            <asp:BoundField HeaderText="员工姓名" DataField="employeeName" />
                            <asp:BoundField HeaderText="工资" DataField="employeePay" />
                        </Columns>
                        <SelectedRowStyle BackColor="DarkSlateBlue" ForeColor="GhostWhite" />
                        <PagerStyle BackColor="PaleGoldenrod" ForeColor="DarkSlateBlue" HorizontalAlign="Center" />
                        <HeaderStyle BackColor="Tan" Font-Bold="True" />
                        <AlternatingRowStyle BackColor="PaleGoldenrod" />
                    </asp:GridView>
                </td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>

⌨️ 快捷键说明

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