Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Convert Data Type From SQL
Message
De
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:
01516968
Vues:
48
>>>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.
Very fitting: http://xkcd.com/386/
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform