If I initialize a SQL parameter such as this:
loSqlParameter.SqlDbType = SqlDbType.Text
...and use this to get its type:
loDataParameterSQLClient.DbType.ToString
...I guess AnsiString.
If I initialize a SQL parameter such as this:
loSqlParameter.SqlDbType = SqlDbType.NVarChar
...and do the same, I guess String.
How can I get the SqlDbType to recognize that this is a Text or NVarChar field? Isn't SqlDbType.Text and SqlDbType.NVarChar suppose to define it as is?