M
MarkusJNZ
Hi, I am using 2.0 DAB to return a datareader (ASP.NET 2.0)
// Create a database object
Database db =
DatabaseFactory.CreateDatabase("ConnectionString");
I then use the following to return a dataReader
IDataReader _reader = db.ExecuteReader(CommandType.StoredProcedure,
"spStoredProcedureName");
I am experienceing problems where the command times out. How can I set
the command object timeout property when using the above code to
execute a stored procedure against the database??
thanks in advance
Markus
// Create a database object
Database db =
DatabaseFactory.CreateDatabase("ConnectionString");
I then use the following to return a dataReader
IDataReader _reader = db.ExecuteReader(CommandType.StoredProcedure,
"spStoredProcedureName");
I am experienceing problems where the command times out. How can I set
the command object timeout property when using the above code to
execute a stored procedure against the database??
thanks in advance
Markus