Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Convertion issue
Message
De
23/01/2004 13:31:02
Sergio Ortiz
Tek Services Group, Llc
Hollywood, Floride, États-Unis
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Convertion issue
Divers
Thread ID:
00870023
Message ID:
00870023
Vues:
49
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform