I am have SqlDBType stored in my database as strings (varchar, int, etc). But the procedure want an enum (SqlDbType.Varchar, SqlDbType.int etc)
dbo.Parameters.Add(database.SetParameter("ProcedureName", SqlDbType.VarChar, 1000, name));
How do I use the string value I got from my database to call this function?
Thanks,
Tom
dbo.Parameters.Add(database.SetParameter("ProcedureName", SqlDbType.VarChar, 1000, name));
How do I use the string value I got from my database to call this function?
Thanks,
Tom