Have you tried it and seen what happens? That's probably the best way to
see what's going on. FYI, Remember that the difference between DBType and
SqlDbType for instance is that SqlDbType is a DbType, but it's the provider
specific (SqlClient) version of it. So what would you gain by having a
generic type? If you tried to do anything with it to another DB, you'd have
some trouble. And if you are only sending it back to a SQL Server DB...then
why cast it?
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.