Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
How can we force the connection object to close after my datareader is closed
How can we force the connection object to close after my datareader is closed ?
✍: Guest
Command method Executereader takes a parameter called as CommandBehavior where
in we can specify saying close connection automatically after the Datareader is close.
pobjDataReader = pobjCommand.ExecuteReader(CommandBehavior.CloseConnection)
2007-10-24, 5691👍, 0💬
Popular Posts:
What's wrong with this initialization? char *p = malloc(10); My compiler is complaining about an ``i...
What Happens If the UPDATE Subquery Returns Multiple Rows? - Oracle DBA FAQ - Understanding SQL DML ...
What is the method to customize columns in DataGrid? Use the template column.
How To Select Some Rows from a Table? - MySQL FAQs - SQL SELECT Query Statements with GROUP BY If yo...
What's wrong with this initialization? char *p = malloc(10); My compiler is complaining about an ``i...