Convert 'string' to 'string[]'
Hello,
1. I have an array as
string[] arr = new string[24];
2. After populating it stored in a session variable as
Session["Response"] = arr;
3. On the next page, I want to reconvert session variable to array as
string[] arr = new string[24];
arr = Convert.ToString(Session["Response"]) ;
4. Giving error message as
Cannot implicitly convert type 'string' to 'string[]'
Please tell me what to do.
|