Request.Params有什么作用啊?

时间:2022-11-26 21:59:21
protected void Application_BeginRequest(Object sender, EventArgs e)
{

                           int tabID=0;
int tabIndex=0;
if(Request.Params["TabId"]!=null)
{
tabId=Int32.Parse(Request.Params["TabId"]);
}
if(Request.Params["TabIndex"]!=null)
{      //取得表的TabIndex
tabIndex=Int32.Parse(Request.Params["TabIndex"]);
}

Context.Items.Add("TabAddModuleSettings",new TabAddModuleSettings(tabId,tabIndex));

2 个解决方案

#1


http://dotnet.aspx.cc/ShowDetail.aspx?id=E6E35E3C-2C28-4DAD-ACBB-DB78D2785776

#2


不懂...........

#1


http://dotnet.aspx.cc/ShowDetail.aspx?id=E6E35E3C-2C28-4DAD-ACBB-DB78D2785776

#2


不懂...........