Lollipop   

Welcome to PcCare.com

Convert .net type to DbType (SqlDbType) SQL Server 2008 data type.

Need help with SQL Server? Call PcCare.com!
The following code reads through the table column definitions for data types, it then converts string data to the correct format. The trick is to use the SQL parameter object, it implicitly converts the data.
Code Here
DISCLAIMER: It is assumed that users are familiar with the operating system they are using and comfortable with making the suggested changes. PcCare.com will not be held responsible if changes you make cause a system failure.

Please review our Terms of Service and Privacy statement before initiating service or using this site. Microsoft® and the Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries. PcCare Site Map. About Us

PcCare.com is owned and operated by TechnoChill Inc.