default.aspx

来自「Code for VB.NET教程源码 很好的源码」· ASPX 代码 · 共 18 行

ASPX
18
字号
<%@ Import Namespace="Wrox" %>

<Script language="VB" runat="server">
  Public backColor As String

  Public Sub Page_Load(sender As Object, e As EventArgs)
    Dim _config As PagePropertiesConfig

    _config = CType(Context.GetConfig("system.web/pageProperties"), PagePropertiesConfig)

    backColor = _config.BackColor

  End Sub
</Script>

<Body bgcolor="<%=backColor%>">

<Font face="arial" color="white" size=4>This page has its backcolor set from the ASP.NET configuration system!</Font>

⌨️ 快捷键说明

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