Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Convert Data Type From SQL
Message
 
To
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:
01516969
Views:
42
>>>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform