Need help in typecasting string in to int

Posted by vaibhav on Stack Overflow See other posts from Stack Overflow or by vaibhav
Published on 2010-05-14T12:58:13Z Indexed on 2010/05/14 13:04 UTC
Read the original article Hit count: 180

Filed under:
|
|

I am using Convert.ToInt32(ddlBuyer1Country.SelectedValue); to typecast a string returned by selectedvalue. But this is giving me 0 instead of 3. I have selected value as 3 in this case.

© Stack Overflow or respective owner

Related posts about .NET

Related posts about c#