On the local machine, it works fine, it split the file and reads it correctly. I have done it in several ways.
Whe i publish the web site in the server and use the web site, the split method doesnīt work.
Anyone have any ideas?
This is the code:
char[] delimiterChars = {Convert.ToChar(9) };
string[] words = strLine.Split(delimiterChars);
I have also done in this way and works locally:
objCulture.NumberFormat.NumberGroupSeparator = ",";
objCulture.NumberFormat.NumberDecimalSeparator = ".";
objCulture.TextInfo.ListSeparator = "" + Convert.ToChar(9);
char[] delimiterChars = {char.Parse(objCulture.TextInfo.ListSeparator)};
string[] words = strLine.Split(delimiterChars);

New Topic/Question
Reply




MultiQuote






|