ASP NET Questions

Q.  Which SqlCommand execution returns the value of the first column of the first row from a table?

a. ExecuteNonQuery
b. ExecuteReader
c. ExecuteXmlReader
d. ExecuteScalar


ANSWER: See Answer
 
No explanation is available for this question!
MCQs:  Which of the following works on server side?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Application_Start event is available in which file?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  You have to log the data into database if your session times out. Which event you will use?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Which of the following is true when referencing master page from content page?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  If you are using Webparts in your web page then which control is necessary?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  What component do you need to enable for a user to add new web parts?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Which of the following are required to enable users to change the title of web part?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  What is the file extension of web service in ASP.NET?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  If you want to access a web service method, which attribute it must have?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Range Validator control in ASP.NET supports which type?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  If you are using user control in ASP.NET page which directory will be used?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  A web application can contain _______ .
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  What is the last event of web page life cycle?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  ByDefault ASP.Net SessionID is stored in _________.
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Which file controls how your frames will appear?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  What can't layers do if you want to convert them to tables?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Which HTML attribute is used to define inline styles?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Using _______ statement is how you test for a specific condition.
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Which of the following is the structure of an if statement?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  The _______ method of an Array object adds and/or removes elements from an array.
Category: Computer Science MCQs,   Published by: T-Code Scripts