"If at first you don't succeed; call it version 1.0" :-Unknown

Pages

Friday, December 24, 2010

passing array from one page to another using session

passing array from one page to another using session.


string[] array = new string[] { "ds""dsd""dsf" };  
// putting array into the session   
Session["MyArray"] = array;  
// getting array from session  
array = Session["MyArray"as string[]; 


Have a nice day... 'N happy Coding :)

No comments: