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

📄 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>
        <table align="center" background="图片2 拷贝.jpg" border="0" cellpadding="0" cellspacing="0"
            style="width: 473px; height: 275px">
            <tr>
                <td colspan="2" style="height: 103px" width="100%">
                    <table background="图片2 拷贝.jpg" border="0" cellpadding="0" cellspacing="0" width="100%">
                        <tr>
                            <td align="center" colspan="1" rowspan="5" style="background-image: none; width: 169px">
                            </td>
                            <td align="center" colspan="2">
                                <span style="font-size: 9pt; color: red"><strong>修改管理员密码</strong></span></td>
                        </tr>
                        <tr>
                            <td align="right" style="width: 100px; height: 19px">
                                <span style="font-size: 9pt">&nbsp; </span></td>
                            <td style="width: 100px; height: 19px">
                                </td>
                        </tr>
                        <tr>
                            <td align="right" style="width: 100px; height: 24px;">
                                <span style="font-size: 9pt">管理员名称:</span></td>
                            <td style="width: 100px; height: 24px;">
                                <asp:TextBox ID="TextName" runat="server"></asp:TextBox></td>
                        </tr>
                        <tr>
                            <td align="right" style="width: 100px; height: 19px">
                                <span style="font-size: 9pt">&nbsp;管理员密码:</span></td>
                            <td style="width: 100px; height: 19px">
                                <asp:TextBox ID="TextPass" runat="server"></asp:TextBox></td>
                        </tr>
                        <tr>
                            <td align="right" style="width: 100px; height: 19px;">
                                <span style="font-size: 9pt"></span></td>
                            <td style="width: 100px; height: 19px;">
                                <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="修改密码" Width="65px" /></td>
                        </tr>
                    </table>
                    &nbsp;
                    <asp:Label ID="Label1" runat="server" BackColor="#FFC080" Font-Size="9pt" Text="修改后的信息显示如下:"></asp:Label></td>
            </tr>
            <tr>
                <td style="width: 106px; height: 226px">
                    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" Width="190px" BackColor="#DEBA84" BorderColor="#DEBA84" BorderStyle="None" BorderWidth="1px" CellPadding="3" CellSpacing="2" Font-Size="9pt">
                        <Columns>
                            <asp:BoundField DataField="admName" HeaderText="管理员名称">
                                <HeaderStyle Font-Size="12pt" />
                                <ItemStyle Font-Size="10pt" />
                            </asp:BoundField>
                            <asp:BoundField DataField="admPass" HeaderText="管理员密码">
                                <HeaderStyle Font-Size="12pt" />
                                <ItemStyle Font-Size="10pt" />
                            </asp:BoundField>                           
                        </Columns>
                        <HeaderStyle BackColor="#A55129" Font-Bold="True" ForeColor="White" />
                        <RowStyle BackColor="#FFF7E7" ForeColor="#8C4510" />
                        <FooterStyle BackColor="#F7DFB5" ForeColor="#8C4510" />
                        <SelectedRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="White" />
                        <PagerStyle ForeColor="#8C4510" HorizontalAlign="Center" />
                    </asp:GridView>
                </td>
                <td style="width: 100px; height: 226px">
                    <asp:GridView ID="GridView2" runat="server" AutoGenerateColumns="False" BackImageUrl="~/背景图10.jpg"
                        Width="270px" CellPadding="4" ForeColor="#333333" GridLines="None" Font-Size="9pt">
                        <Columns>
                            <asp:BoundField DataField="modifyDate" HeaderText="修改日期">
                                <HeaderStyle Font-Size="12pt" />
                                <ItemStyle Font-Size="10pt" />
                            </asp:BoundField>
                            <asp:BoundField DataField="remark" HeaderText="备注">
                                <HeaderStyle Font-Size="12pt" />
                                <ItemStyle Font-Size="10pt" />
                            </asp:BoundField>                           
                        </Columns>
                        <HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
                        <FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
                        <RowStyle BackColor="#FFFBD6" ForeColor="#333333" />
                        <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
                        <PagerStyle BackColor="#FFCC66" ForeColor="#333333" HorizontalAlign="Center" />
                        <AlternatingRowStyle BackColor="White" />
                    </asp:GridView>
                </td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>

⌨️ 快捷键说明

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