In this case you use -1.
More Related Contents:
- ExecuteReader requires an open and available Connection. The connection’s current state is Connecting
- Call a stored procedure with parameter in c#
- Insert 2 million rows into SQL Server quickly
- Calling stored procedure with return value
- SQL command INSERT is working but the data not appear in table
- Return value from SQL Server Insert command using c#
- How to pass sqlparameter to IN()? [duplicate]
- How do I return multiple result sets with SqlCommand?
- SqlConnection SqlCommand SqlDataReader IDisposable
- SqlBulkCopy from a List
- Use of SqlParameter in SQL LIKE clause not working
- How to run multiple SQL commands in a single SQL connection?
- Connection timeout for SQL server
- MultipleActiveResultSets=True or multiple connections?
- WHERE IN (array of IDs)
- How can I retrieve a list of parameters from a stored procedure in SQL Server
- Creating a SQL Server table from a C# datatable
- SQL: Update a row and returning a column value with 1 query
- How to keep single SQL Server connection instance open for multiple request in C#?
- How to use SqlCommand to CREATE DATABASE with parameterized db name?
- ExecuteNonQuery returning -1 when using sql COUNT despite the query string
- Using SqlDataAdapter to insert a row
- Add WHERE clauses to SQL dynamically / programmatically
- Unable to connect to localDB in VS2012 – “A network-related or instance-specific error occurred while establishing a connection to SQL Server…”
- Fastest method for SQL Server inserts, updates, selects
- Why does the SqlParameter name/value constructor treat 0 as null?
- How do I connect to a SQL database from C#?
- How to get efficient Sql Server deadlock handling in C# with ADO?
- Passing array to a SQL Server Stored Procedure
- How to give ADO.NET Parameters