PrepAway - Latest Free Exam Questions & Answers

What option should you make use of?

You are employed as a developer at ABC.com. You are using ASP.NET and C# to develop a new
Web site for ABC.com.
You have created a new application for ABC.com using C#. The new application must be able to
retrieve a single value from a ABC.com SQL Server database.

You want to make sure that this process takes as little time as possible.
What option should you make use of?

PrepAway - Latest Free Exam Questions & Answers

A.
You should consider making use of the SqlCommand.ExecuteReader method.

B.
You should consider making use of the SqlCommand.ExecuteScalar method.

C.
You should consider making use of the SqlCommand.ExecuteXmlReader method.

D.
You should consider making use of the SqlCommand.BeginExecuteXmlReader method.

One Comment on “What option should you make use of?


Leave a Reply