救命!!!碰到asp.net2.0奇怪问题!!!
protected void Button1_Click(object sender, EventArgs e)
{
Application["0"] = DropDownList1.Text;
Server.Transfer("result.aspx");
}
以上语句中的dropdownlist1明明存在,也可以在写的时候直接选择,但编译总是警告说dropdownlist1不存在于上下文中
各位大侠救命啊!!!
参考答案:没遇到过,你用的VS2005哪个版本?况且只是警告嘛