2
Reply

PASSING ARRAY AND INTEGER FROM ONE PAGE TO OTHER

Vipul Kelkar

Vipul Kelkar

Mar 5 2009 9:18 AM
5.4k

I am not able to pass an array and integer from one page to other using sessions.I have done it as given below

FOR INTEGER

Session["Count"] = cnt;           

int count = Session["Count"]           //to recieve on 2nd form

 

FOR ARRAY

Session["Arr"]  = arry               // arry is a String Array

String [] arry = Session["Arr"];


Answers (2)