We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

data type conversion

Thread ID:




1065 Sep 19,2002 08:37 AM Windows Forms 0
Tags: FAQ
Michael Kunze
Asked On September 19, 2002 08:37 AM

Using an OleDbDataReader with an OLEDB data source, the GetSchemaTable method gives me .NET Framework types in the DataType column of the returned schema table for each data field. However, when I want to compose an OleDbCommand I need OleDbType data types to specify the types of parameters for the parameter collection of the command. How do I convert from .NET Framework types to OleDbType data types?


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.