Server.Transfer with parameter :- Page 1:- Context.Items.Add(" OrderStatus", "8");
Context.Items.Add("OrderType", "Pending");
Server.Transfer("Order.aspx");
Context.Items.Add("OrderType", "Pending");
Server.Transfer("Order.aspx");
.
Page2:-
if (Context.Items["OrderStatus"] != null)
{
bo.status = Context.Items["OrderStatus"]. ToString();
}
{
bo.status = Context.Items["OrderStatus"].
}
Comments
Post a Comment