Top "Dbcommand" questions

How to generate List<String> from SQL query?

If I have a DbCommand defined to execute something like: SELECT Column1 FROM Table1 What is the best way to …

c# sql list visual-studio-2005 dbcommand
Inserting NULL to SQL DB from C# DbCommand

DbParameter param = comm.CreateParameter(); param = comm.CreateParameter(); param.ParameterName = "@StaffId"; if (!string.IsNullOrEmpty(activity.StaffId)) param.Value = activity.StaffId; param.…

c# sql dbcommand
SQL0666 - SQL query exceeds specified time limit or storage limit

Periodically, I get this error message while making a call to a DB2 database using the Odbc connection string. I …

c# ssis odbc db2 dbcommand
Copy parameters from DbCommand to another DbCommand

How do you copy DbCommand parameters to another DbCommand, I want a new DbCommand with the same parameters as my …

c# .net enterprise-library dbcommand input-parameters