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

📄 masterpage1.master

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

<script runat="server">
    public void Page_Load(Object sender, EventArgs e)
    {
        LabelInMaster.Text = "现在时间:"+System.DateTime.Now.ToShortTimeString();
    }  
</script>

<!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 style="border-top-style: ridge; border-right-style: ridge; border-left-style: ridge; border-bottom-style: ridge">
            <tr>
                <td colspan="2" style="background-image: url(image/top.jpg); width: 778px; height: 130px">
                </td>
            </tr>
            <tr>
                <td align="center" colspan="2" style="width: 778px; height: 23px; background-color: gainsboro">
                    <asp:Label ID="LabelInMaster" runat="server" Text="Label"></asp:Label></td>
            </tr>
            <tr>
                <td style="width: 100px; border-top-style: groove; border-right-style: groove; border-left-style: groove; border-bottom-style: groove;">
                    <asp:contentplaceholder id="ContentPlaceHolder1" runat="server">
                    </asp:ContentPlaceHolder>
                </td>
                <td style="width: 100px; border-top-style: groove; border-right-style: groove; border-left-style: groove; border-bottom-style: groove;">
                    <asp:contentplaceholder id="Contentplaceholder2" runat="server">
                    </asp:ContentPlaceHolder>
                </td>
            </tr>
            <tr>
                <td align="center" colspan="2" style="height: 17px; background-color: #ccccff">
                    <table>
                        <tr>
                            <td style="background-image: url(image/013.bmp); width: 390px; height: 71px">
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>

⌨️ 快捷键说明

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