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

📄 default2.aspx

📁 这是asp.net^和Visual C++Sharp编写的串并口通讯的书籍 源代码
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default2" %>

<!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" border="1" cellpadding="1" cellspacing="1" bgcolor="black" bordercolor="#ffffff">
            <tr>
                <td style="font-weight: bold; font-size: 14pt; text-align: center; height: 37px; color: #ffffff; background-color: #1c5e55;" colspan="2" bgcolor="#ffffff">
                    动态生成透视表</td>
            </tr>
            <tr>
                <td style="vertical-align: top; text-align: center; width: 281px;" rowspan="2" bgcolor="#ffffff">
                    <asp:GridView ID="GridView1" runat="server" CellPadding="4" ForeColor="#333333" AllowPaging="True" Font-Size="9pt" OnPageIndexChanging="GridView1_PageIndexChanging">
                        <FooterStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
                        <RowStyle BackColor="#E3EAEB" />
                        <EditRowStyle BackColor="#7C6F57" />
                        <SelectedRowStyle BackColor="#C5BBAF" Font-Bold="True" ForeColor="#333333" />
                        <PagerStyle BackColor="#1C5E55" ForeColor="White" HorizontalAlign="Right" />
                        <HeaderStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
                        <AlternatingRowStyle BackColor="White" />
                    </asp:GridView>
                </td>
                <td style="font-size: 9pt; vertical-align: top; width: 88px; text-align: left" bgcolor="#ffffff">
                    &nbsp;双击显示字段:<br />
                    <asp:ListBox ID="ListBox1" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ListBox1_SelectedIndexChanged">
                    </asp:ListBox></td>
            </tr>
            <tr>
                <td style="font-size: 9pt; vertical-align: middle; width: 88px; height: 24px; text-align: center" bgcolor="#ffffff">
                    <asp:Button ID="Button1" runat="server" Text="返回" OnClick="Button1_Click" /></td>
            </tr>
        </table>
    
    </div>
        <br />
    </form>
</body>
</html>

⌨️ 快捷键说明

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