listing1806.aspx

来自「asp入门到精通的源代码」· ASPX 代码 · 共 24 行

ASPX
24
字号
<%@ Page Language="VB" %>

<script runat="server">
   sub Page_Load(obj as Object, e as EventArgs)
      'retrieve the type information
      lblType.Text = ConfigurationSettings.GetConfig _
         ("system.web/TYASPNET21Days").ToString
      
      'retrieve information
      dim objSettings as NameValueCollection = ConfigurationSettings.GetConfig _
         ("system.web/TYASPNET21Days")
      'dim objSettings as NameValueSectionHandler = CType(ConfigurationSettings.GetConfig _
      '   ("system.web/TYASPNET21Days"), NameValueSectionHandler.TypeOf)
         
      Response.write(objSettings.Item("AppName") & "<BR>")
      
      'Response.Write(ConfigurationSettings.TYASPNET21Days("AppName"))
   end sub
</script>

<html><body>
   <b>Type:</b>
   <asp:Label id="lblType" runat="server"/>
</body></html>

⌨️ 快捷键说明

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