send instance of object in web-project
send instance of object in web-project
I am writing web-project in C# on asp.net. I want to pass instance of object when navigating from one page to another.
For example I have a class
public partial class A: System.Web.UI.Page{ private Item item = new Item();//I have a class Item protected void btn1_Click(Object sender,EventArgs e) { Response.Redirect("nextpage.aspx");//Here I want to send item object to the nextpage } }
View On WordPress















