Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Convertion issue
Message
From
23/01/2004 13:31:02
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Convertion issue
Miscellaneous
Thread ID:
00870023
Message ID:
00870023
Views:
48
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
Next
Reply
Map
View

Click here to load this message in the networking platform