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. Image for the cookie policy date

data type conversion

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?

Loader.
Live Chat Icon For mobile
Up arrow icon