正在加载图片...
41.3创建应用程序的典型步骤 4.1.3.1配置 config. web 主要定义为gb2312字符集,以利于中文显示 <contiguration> globalization requestencoding="gb23 12 responseencoding=gb2312"/ configuratio 4.1.3.2配置 global.asax 主要定义应用初始化、结束,会话开始、结束,请求开始、结束等事件发生时,应用要 做的事情。 <script language="VB"runat="serve Sub Application Start(Sender As Object, EAs EventArgs) End sub Sub Application End(Sender As Object, E As EventArgs) Sub Session Start( Sender As Object, E As EventArgs) End Sub Sub session end As Object, E As EventArgs) End Sub Sub Application Begin Request( Sender As Object, E As EventArgs) End sub Sub Application End Request( Sender As Object, E As EventArgs) End Sub /script> 4.1.3.3主程序 创建一个应用程序我们可以先在web服务器上创建一个虚拟目录或者在发布目录下t4.1.3 创建应用程序的典型步骤 4.1.3.1 配置 config.web 主要定义为 gb2312 字符集,以利于中文显示 <configuration> <globalization requestencoding="gb2312" responseencoding="gb2312" /> </configuration> 4.1.3.2 配置 global.asax 主要定义应用初始化、结束,会话开始、结束,请求开始、结束等事件发生时,应用要 做的事情。 <script language="VB" runat="server"> Sub Application_Start(Sender As Object, E As EventArgs) End Sub Sub Application_End(Sender As Object, E As EventArgs) End Sub Sub Session_Start(Sender As Object, E As EventArgs) End Sub Sub Session_End(Sender As Object, E As EventArgs) End Sub Sub Application_BeginRequest(Sender As Object, E As EventArgs) End Sub Sub Application_EndRequest(Sender As Object, E As EventArgs) End Sub </script> 4.1.3.3 主程序 创建一个应用程序我们可以先在 web 服务器上创建一个虚拟目录或者在发布目录下创
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有