I have a column from a table. I want to create a parameter for an SqlCommand object, based on that column. Everything works out great until you get to the SqlDBType or even the DBType property of the parameter. It seems the column.datatype is not compatible with it. I tryed using Ctype to convert it, but it dosent like it either. Does anyone know how to convert the column.datatype into SQLDBType or DBType?
Phylum
Phylum