Use TryParseExact instead... that might help... but before that, you may want to debug your code and step through it to make sure that your data is what you think it is... the sample data you gave doesn't match the code. You're splitting on a comma... only there aren't any in the data... so your tempArray only ends up with a single element.

Also, mostly out of curiosity, is there a reason you're using the RegEx split rather than just the string split function? I mean if you were splitting off of something complex, I'd get it, but since it appears to be just off the lowly comma, regex seems like overkill to me.


-tg