Is there a way i can link TypeCode enums and SqlDbType enums.
I’m planning on, when a specific variable in c sharp of any type identify its TypeCode i have a corresponding SqlDbType. Do i need to create table in my database to suffice my requirements. T.I.A
Is there a way i can link TypeCode enums and SqlDbType enums. I’m planning
Share
Here is a trick to get the SqlDbType value for any given object. (It’s not based on the TypeCode):