Think
Interview
Advertisement
Home
Interview Questions
Blogs
Forums
thinkinterview
»
interview questions
« Previous
interview Questions
next »
Which of the following ways can you proactively clean up a database connection’s resources?
1.
Execute the DbConnection object’s Cleanup method.
2.
Execute the DbConnection object’s Close method.
3.
Assign Nothing (C# null) to the variable that references the DbConnection object.
4.
Create a using block for the DbConnection object.
1.
Execute the DbConnection object’s Cleanup method.
2.
Execute the DbConnection object’s Close method.
(Correct)
3.
Assign Nothing (C# null) to the variable that references the DbConnection object.
4.
Create a using block for the DbConnection object.
(Correct)
Next Queston »
What event can you subscribe to if you want to display informatio...
What event can you subscribe to if you want to display information from SQL Print statements? View full queston »
Posted in:
ASP.NET(45)
|
Posted By:
amal.elhosseiny@...
View Count:
ASP.NET (45)
.NET (40)
DataBase (35)
Java (30)
ADO.NET (23)
SQL Server (15)
Sign In
New User:
Join
Recent Posts
Stop Being Lazy
Being lazy is an axe on productive life. Following steps might help you to create more productive,
How to Write a Cover Letter?
Cover letter is an essential and tricky part of your job search, but I have come up with a sure fire
How to Write a Good Approachable Resume?
If you are about to start switching jobs or newly bird into the real corporate world, you're goi
How Can I Make A Good First Impression?
“First impression is last impression”. First appearance while interview is a last chance
SQL Server 2005 (Database) Interview Questions
1. What is DESCRIBE command in SQL Server 2005? What is its purpose? How to use it? DESCRIBE