Skip to content Skip to sidebar Skip to footer
Showing posts with the label Sqlparameter

How To Pass Sql Parameter As Null Value In Integer Datatype Variable?

how to pass sql parameter as null value in to integer data type variable ? StockBO sBO = ne… Read more How To Pass Sql Parameter As Null Value In Integer Datatype Variable?

Passing Null As Sqlparameter Datetime Value

I have the following query: INSERT INTO CWS_FORWARDING_PROFILE (TNR_COMPANY_PROFILE,BOL_… Read more Passing Null As Sqlparameter Datetime Value

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 typ… Read more Is It Possible To Get The Parsed Text Of A Sqlcommand With Sqlparameters?

Sqlparameter With Default Value Set To 0 Doesn't Work As Expected

I was doing something like this: SqlParameter param = new SqlParameter('@Param', 0) { SqlDb… Read more Sqlparameter With Default Value Set To 0 Doesn't Work As Expected

Why My Ado.net Queries Does Not Run In Single Execution But They Will Run In Seperate Executions?

Regarding a question and its related answer, I'm trying to create a new table type using SQL qu… Read more Why My Ado.net Queries Does Not Run In Single Execution But They Will Run In Seperate Executions?

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 messag… Read more Can't Solve "sqlparameter Is Already Contained By Another Sqlparametercollection"

Sqlparameter And Executenonquery Causing Unrepeatable Time Outs

I recently inherited some code that is having occasional time-out issues. I am mostly familiar with… Read more Sqlparameter And Executenonquery Causing Unrepeatable Time Outs

Avoid Sql Injections On Query With Tablename

Possible Duplicate: Sanitize table/column name in Dynamic SQL in .NET? (Prevent SQL injection attac… Read more Avoid Sql Injections On Query With Tablename