ASP.net MCQs

133 MCQs  — Computer Programming MCQs  (Page 8 of 14)

How do you disable client side validation ?
A. Set the clienttarget property to downlevel
B. Set the runat property to server
C. Set the inherits property to codeb
D. Set the language property to c#
Which namespace allows us to formauthentication ?
A. System.web.services
B. System.web.ui.forms.security
C. System.web.configuration
D. System.web.security
An alternative way of displaying text on web page using ?
A. Asp:listitem
B. Asp:button
C. Asp:label
D. None of these
Which of the following is the way to monitor the web application ?
A. Alerts snap-ins
B. Performance logs
C. Mmc event viewers
D. All of the above
Difference between Response.Write() and Response.Output.Write() ?
A. Response.output.write() allows you to write formatted output
B. Response.output.write() allows you to stream output
C. Response.output.write() allows you to buffer output
D. Response.output.write() allows you to flush output
Which of the following ASP.NET object encapsulates the state of the client ?
A. Application object
B. Session object
C. Server object
D. Response object
Which of the following is faster and consume lesser memory ?
A. Sqldatareader
B. Data set
C. Both a and b
D. None of these
In ASP.NET in form page the object which contains the user name is ________________?
A. Page.user.isinrole
B. Page.user.name
C. Page.user.identity
D. None of these
Which of the following is used to send email message from my ASP.NET page?
A. System.web.mail.smtpmail
B. System.web.mail.mailmessage
C. Both a and b
D. None of these