Posted on: 10/22/2013 12:28:23 PM | Views : 671

Hi there
Iam making a web application that is going to print Id cards using aspx.cs. Right now I am able to create a new user on page 1 and I want to be able to pass all the information from that user into page 2 so i can print an id card. On page 2 I was formatting everything with labels so I need to be able to get everything on page 1 into the labels of page 2. I did it with sessions first and that works.. but is there a better way for storring all the information for one single person?.
page 1 current code newrecord.aspx.cs
summitbutton(object sende, eventArgs e)
    sqldsNewrecord.insertParameters["name"].defaultValue=txtName.text;
    sqldsNewrecord.insertParameters["Company"].defaultValue=txtCompany.text;
   Session["name"]=txtname.text;
   Session["company"]=txtCompany.text;
print button
{
  &nb ...

Go to the complete details ...