【发布时间】:2011-11-08 01:08:41
【问题描述】:
我的 Global.asax 中有一个空白,看起来像这样
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.SessionState;
namespace TestCenter_Galleri
{
public class Global : System.Web.HttpApplication
{
void Application_Start(object sender, EventArgs e)
{
}
}
}
我需要让 Application_Start 来检查 defaul.aspx 上的文本框是否为空。
所以我的问题是,如何从 Global.asax 连接到文本框?
【问题讨论】:
标签: c# asp.net global-asax void