michael_hk
Centurion
Hi guys,
I am using the FrontController pattern and I have the following two aspx pages.
Test1.aspx
Test2.aspx
In Test1.aspx I assign a datatable (dt) to context and in Test2.aspx I can use Context to retrieve it. So is it context == Context?
Thanks for your help.
Michael
I am using the FrontController pattern and I have the following two aspx pages.
Test1.aspx
Code:
public class handler : IHttpHandler
{
public void ProcessRequest(HttpContext context)
{
...
context.Items["datatable"] = dt;
context.Server.Transfer("Test2.aspx");
}
}
Test2.aspx
Code:
DataTable dt2 = (DataTable)Context.Items["datatable"];
In Test1.aspx I assign a datatable (dt) to context and in Test2.aspx I can use Context to retrieve it. So is it context == Context?
Thanks for your help.
Michael