Why would this code through this error?
3/12/2008 12:51:08 PM - System.InvalidCastExceptio
n: Cast from string "lbviewerday2" to type 'Integer' is not valid. ---> System.FormatException: Input string was not in a correct format.
at Microsoft.VisualBasic.Comp
ilerServic
es.DoubleT
ype.Parse(
String Value, NumberFormatInfo NumberFormat)
at Microsoft.VisualBasic.Comp
ilerServic
es.DoubleT
ype.Parse(
String Value)
at Microsoft.VisualBasic.Comp
ilerServic
es.Integer
Type.FromS
tring(Stri
ng Value)
--- End of inner exception stack trace ---
at Microsoft.VisualBasic.Comp
ilerServic
es.Integer
Type.FromS
tring(Stri
ng Value)
at BulletHoleEventsCalendar.F
orm1.viewe
rload() in C:\Documents and Settings\mdmiller\My Documents\Visual Studio
Seems to be pretty straightforward code.
Start Free Trial