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

📄 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>DataSet和XML文件的相互转换</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table align="center" cellpadding="0" cellspacing="0" border="1" bordercolor="honeydew">
            <tr>
                <td style="font-size: 9pt;color: #ff0000; background-color: #ff9933;
                    text-align: center; height: 16px;">
                </td>
                <td colspan="2" style="font-size: 9pt; color: #ffffff; height: 16px; background-color: #ff9933;
                    text-align: center">
                    DataSet和XML文件的相互转换</td>
            </tr>
            <tr>
                <td style="background-color: #ffffcc; text-align: center">
                </td>
                <td style="background-color: #ffffcc; text-align: center">
                <iframe id="leftFrame" scrolling="yes" src="test.xml" style="width: 480px; height: 280px"></iframe>
                </td>
                <td style="background-color: #ffffcc; text-align: center;">
                    <asp:GridView ID="GridView1" runat="server" CellPadding="4" Font-Size="9pt" ForeColor="#333333"
                        GridLines="None">
                        <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" />
                        <HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
                        <AlternatingRowStyle BackColor="White" />
                    </asp:GridView>
                </td>
            </tr>
            <tr>
                <td style=" background-color: #ff9900; text-align: center; height: 23px;">
                </td>
                <td style="height: 23px; background-color: #ff9900; text-align: center">
                    <asp:Button ID="Button1" runat="server" Font-Size="9pt" Text="转换" OnClick="Button1_Click" /></td>
                <td style="text-align: center; background-color: #ff9900; height: 23px;">
                    <asp:Button ID="Button2" runat="server" Font-Size="9pt" Text="XML转换DataSet" OnClick="Button2_Click" Enabled="False" /></td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>

⌨️ 快捷键说明

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