As suggested above, it's not easy to control it in source code. Always, we can take advantage of SQL script. That means you can either execute the SQL script in a query window directly or save and execute it from source code.
Thanks.
Please mark the replies as answers if they help or unmark if not.
If you have any feedback about my replies, please contact msdnmg@microsoft.com
Wencui Qian ...
All-Star
56784 Points
5796 Posts
Microsoft
Re: How to convert C# datatype to database type ?
Jan 26, 2010 12:28 AM|LINK
Hi harrylynn,
As suggested above, it's not easy to control it in source code. Always, we can take advantage of SQL script. That means you can either execute the SQL script in a query window directly or save and execute it from source code.
Thanks.
If you have any feedback about my replies, please contact msdnmg@microsoft.com
Microsoft One Code Framework