Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Convert Data Type From SQL
Message
From
30/06/2011 22:20:08
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
 
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
01516961
Message ID:
01516968
Views:
47
>>>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/
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform