hi
i'm using the following statement in my application
string[] strTArray = new string[5];
strTArray = (string[])(Session["TextDataArray"]);
when i run the application its giving the below error
{"Unable to cast object of type 'System.String' to type 'System.String[]'."}
can anyone say how to solve this
thanks in advance
Archu
![]() |
0 |
![]() |
What are you storing in the TextDataArray session? What is the data type you are storing?
Regards
Bilal Hadiar, MCP, MCTS, MCPD, MCT
Microsoft MVP - Telerik MVP
![]() |
0 |
![]() |