Office Document APIs for .NET
ITIL Career Advice
PMP Career Advice
Android Intel XDK
Welcome Guest !
You are going to execute a Select command to SQL Server that returns several rows of customer data. You don't need a data table to hold the data because you will simply loop over the returned results to build a string of information that will be displayed to the user. You create and open a connection and then create the command and set its properties. Which method on the command will you execute to retrieve the results?
on 8/7/2012 | Category:
ADO.NET Interview questions
| Views: 1912 |
Select from following answers:
The ExecuteReader method will return a DbDataReader object that can be used.
The ExecuteScalar method returns only the first column.
Show Correct Answer
MeasureUp.com | |
< Previous :
To which of the following types can you add an ext ...
Next > :
Comments or Responses
Login to post response
More Interview Questions by Rajkatie
Which payload formats can be specified if you are making an AJAX call ...
You are writing a WCF data service that will be included in a large pr ...
You want to configure WCF data service to allow only a single row look ...
You retrieved a row of data into an entity object by using a LINQ to S ...
Which class should you use to manage multiple tables and relationships ...
Which of the following keywords is used to implement eager loading of ...
You want to use LINQ to SQL to run queries on a table that contains a ...
In the Entity Framework, which is the primary object that you use to q ...
Latest Interview Questions
Considering SELECT statement, in which order the query clauses are log ...
How do you copy the COM component to the server and register ?
It is not a good idea to add ASPNET user to the Administrators group, ...
How is the ASP.NET worker process impersonated ?
What will happen when you access the Global.asax file from a browser?
When you access the Web.config file from a browser, What will happen ?
What will happen to an application’s Web.config file when you make cha ...