3
Reply

input string was not in acorrect format

sara khatib

sara khatib

Apr 21 2009 10:47 AM
2.5k
Hi Everyone, I was wondering if someone could help me. I am trying to get the value of a parameter from a stored procedure. I keep getting the error "Input string was not in a correct format.". It looks like it is in the correct format to me. Any suggestions? Here's the code that gets the error..... customer.id=convert.toint32(rd[0].tostring) where rd is a sql dataReader read from the stored procedure

Answers (3)