This is driving me insane. I am trying to use the bar graph, passing into the bar.CollectDataPoints(strDate, strHitCount) throsw the error input string not in correct format. I've tried with creating a string delimited by pipes, then doing the split.tochararray
just like in the example, and I've also tried to simple use a string array. No matter what I do, I still keep getting that error. THe only way I can make it work is to hard code some test values like "scott|bob|tom".Split("|".ToCharArray()) and "1|2|3".Split("|".ToCharArray()).
That is the only way to make it work. Anyone have any ideas? Thanks, Scott Emick
Scott, In your code "bar.CollectDataPoints(strDate, strHitCount)", is strDate and strHitCount string arrays? Your variable declarations might look something like this (C#): string[] strDate = {"5/1/2003", "6/1/2003}; string[] strHitCount = {"211", "367"}; -Mark
semick
Member
5 Points
1 Post
Input string not in correct format
Mar 07, 2004 06:30 PM|LINK
mjmoeykens
Member
10 Points
2 Posts
Re: Input string not in correct format
Mar 08, 2004 03:11 AM|LINK