Unable to cast object of type 'System.Object[]' to type 'System.String[]'
- by salvationishere
I am developing a C# VS 2008 / SQL Server website application. I am a newbie to ASP.NET. I am getting the above error, however, on the last line of the following code. Can you give me advice on how to fix this? This compiles correctly, but I encounter this error after running it.
DataTable dt;
Hashtable ht;
string[] SingleRow;
...…