dbtype Questions
4
Solved
I have taken over some C# code.
The code is hitting a database with some SQL which uses parameters.
All of the string parameters are typed as DbType.AnsiString instead of DbType.String.
Why wou...
4
Solved
Does anyone know what is the DbType equivalent to SqlDbType.Bit?
I am trying to convert
param[0] = new SqlParameter("@Status", SqlDbType.Bit);
param[0].Value = Status;
to
db.AddInParameter(db...
Poppas asked 6/3, 2013 at 9:22
2
Possible Duplicate:
SQL Server datetime2 vs datetime
What is the difference between DbType.DateTime and DbType.DateTime2 in .NET?
If I am using DbType.Date and I want to change to a ...
1
© 2022 - 2024 — McMap. All rights reserved.