Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Convert Data Type From SQL
Message
 
À
30/06/2011 22:20:08
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01516961
Message ID:
01516969
Vues:
43
>>>>Is there a way in .Net to convert a given SQL data type to a .Net data type?
>>>
>>>Can you give the context of your question? From a DataReader?
>>
>>Sorry, I'm working on a data conversion tool...
>>
>>I want to pass in a SQL data type, either as a string or an object, and get back the correspondiong C#/.Net datatype.
>
>Good luck. Not sure you can, but will watch this thread with interest. You can probably build your own function to do this.

II started a method with a switch, then thought I'd chck. I guess I'll keep on it.

Thanks
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform