2 Nov
2013
2 Nov
'13
11:32 a.m.
Hi, Rahul Mathur wrote:
YES, it's a run time exception could you suggest how to handle this ..
First of all, replying to an email on this mailing list you should answer below the text you're refering too. The way you're doing it now is called top-posting and shouldn't be used here. You can't convert string "Apple01000" to an int because it not represents a number. There is an 'Apple' word there! BTW, your string is probably equal to "Apple10". I'd advise you to run a debugging session in your IDE after placing a breakpoint at the beginning and step each line to see what is happening in the code. Regards, Adam