Top "Sqlparameter" questions

a .NET class for representing SQL parameters in SqlCommands

Can't solve "Sqlparameter is already contained by another SqlparameterCollection"

I am using 2 threads (from same class) in a windows service. I always getting the same error message: "The SqlParameter …

c# multithreading database-connection sqlparameter
Is it possible to get the parsed text of a SqlCommand with SqlParameters?

What I am trying to do is create some arbitrary sql command with parameters, set the values and types of …

c# sql-server sqlcommand sqlparameter
Why does the SqlParameter name/value constructor treat 0 as null?

I observed a strange problem in a piece of code where an adhoc SQL query was not producing the expected …

c# sql-server ado.net sqlparameter
InsertCommand.Parameters.Add size parameter for datetime

I need to know what the size parameter should be for a DateTime value using the following syntax: adapter.InsertCommand.…

c# .net datetime ado.net sqlparameter