When we need to retrieve only a single value from the Database,which Method is efficient...
ExecuteScalar()
ExecuteXmlReader
ExecuteReader()
ExecuteNonQuery()
What is the extension of a web user control file?
.Web
.Asmx
.Aspx
.Ascx
What is used to validate complex string patterns like an e-mail address?
Irregular expressions
Regular expressions
Extended expressions
Basic expressions
Choose the form in which Postback occurs........
HTMLForms
Webforms
Winforms
Which of the following control is used to validate that two fields are equal?
RegularExpressionValidator
CompareValidator
RequiredFieldValidator
An alternative way of displaying text on web page using........
asp:button
asp:listitem
asp:label
Which of the following denote the property in every validation control?
ControlToValidate property
Text property
.Both A and B
The ListBox control allows only single selection (like a radioButton).
False
True
Int.Parse is used to _______.
convert data in a textbox to a numeric value with 2 decimal places
properly align decimal positions in a numeric value
convert data in a textbox to a numeric value with no decimal places
add a dollar sign ($) to improve the way the output looks
FALSE
ImageMap is a server side control, which allows you to display an image and take an action when a particular part of the image is clicked.
The property used to display information in a TextBox is _______.
text
name
appearance
Caption
You use the ____ class to create an e-mail object that contains message information such as the sender, recipient, subject, and body.
webmail class
MailMessage class
Mail class
web service
runat="server"
runat="client"
How do you manage states in asp.net application?
Session Objects
Application Objects
Viewstate
All of the above
What does ASP stand for?
Active Server Pages
A Server Page
All Standard Pages
Active Standard Pages
._ _____is a protocol that most e-mail systems use to send messages over the Internet.
HTTP
SMTP
HTTPS
FTP
C#
C++
VB
A+C
The user's Web browser asks a Web server for the Web page in what is referred to as a ____.
client
response
request
service
cookie is:.........
Another name for Session objects
Another name for Application objects
A way of storing information related to a specific user.