>Hello all,
>
>I have a web form with textbox control on it. User type a number into the texbox for example 20000.
>
>When I do the following :
>
>string dwellingText = Dwelling.Text.ToString().Trim();
>int dwelling = Convert.ToInt32(dwellingText) ;
>
>
>and I look at the dwelling value it contains a hexadecimal value.
>
>I do not understand why Convert.ToInt32() is converting to hexadecimal!.
>
>Any feedback?
>
>Thanks,
>Sergio
What are you using to look at the dwelling value?
Int32 can be represented as decimal, octal, hexidecimal, binary ...