Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post May 17, 2012 01:46 AM by Young Yang - MSFT
May 10, 2012 03:06 AM|LINK
i have the following line of code. i am passing in some items in a querystring, one of which is a value with the type of double. however, i am getting an error when it gets to this line of code saying, for example, 1.33 is not a valid value for Int32. this
is because it cant seem to convert the double value. does anyone know how i can solve this problem and pass in a double value?
thank you very much
May 10, 2012 03:38 AM|LINK
What is the ViewModel that you try to deserialize and what's the querystring?
are you sure that this is the line?
Please provide a small example to be reproduced.
May 17, 2012 01:46 AM|LINK
Could you explain more of your question? What's your ViewModel? And what the value of querystring when your got error? What's the expect value of querystring?