Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Different Type Conversion Methods
Message
De
18/04/2007 09:30:06
 
 
À
18/04/2007 09:25:12
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
VB.NET 1.1
Divers
Thread ID:
01217261
Message ID:
01217266
Vues:
14
Hi Mike!

'.ToString()' is a method and 'CSTR()' is a function - that's the main difference.

AFAIK using the method is the better (and faster) way.
[Please correct me if I'm wrong.]

>I have been meaning to ask this question for a while...
>
>What is the difference between different type conversion methods? For example:
>
>.ToString vs. CSTR() vs. Convert.ToString
>
>CDEC() vs. Convert.ToDecimal
>
>Date.Parse() vs. CDATE() vs. Convert.ToDateTime
>
>And a side question: Is there a difference between Date and DateTime types?
robert.oh.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform