QUESTION 101
You want to bind an input field on a Web form to a value in a database field named LastName. You want the user to be able to update the field in case his or her name is misspelled. Which syntax should you use?
-
<%= Bind(“LastName”) %>
-
<%# Eval(“LastName”) %>
-
<%# Bind(“LastName”) %>
-
<%# Bind(“LastName”) %>
Correct Answer: C
QUESTION 102
Connections can only share a connection in the connection pool if:
-
they are established within the same session.
-
they are established within the same using block.
-
they issue the same SELECT query.
-
they use an identical connection string.
Correct Answer: D
QUESTION 103
Which event occurs after view state has been loaded, but before any control events?
-
Page_Load()
-
Page_SaveStateComplete()
-
Page_PreInit()
-
Page_PreRender()
Correct Answer: A
QUESTION 104
Which object should you use to stop the execution of the code in a Web page?
-
Application object
-
Server object
-
Request object
-
Response object
Correct Answer: D
QUESTION 105
You are adding a Web page to an application that will enable users to change their password. You need to display a message about password requirements when the page loads initially. When the user submits the form, you want to display a message indicating whether or not the password was successfully changed. You need to determine whether the page has been sent to the server. Which property should you test for?
-
Page.IsPostBack
-
Page.IsCallback
-
Page.PreviousPage
-
Page.IsCrossPagePostBack
Correct Answer: A
QUESTION 106
Your application includes the following XML document:
<? xml version=”1.0″ ?>
<Customers>
<Customer type=”Preferred”>Bill Smith</Customer>
<Customer type=”Standard”>Tony Ward</Customer>
</customers>
Which statement describes the XML?
-
The XML is invalid because the end tag for the <Customers> element does not match the start tag.
-
The XML is invalid because the <Customers> element can only contain a single <Customer> element.
-
The XML is invalid because the values “Bill Smith” and “Tony Ward” contain spaces.
-
The XML is valid and well-formed.
Correct Answer: A
QUESTION 107
If AutoEventWireup is set to true, then:
-
your page will throw an exception.
-
it changes which lifecycle stages are executed during a postback.
-
you are NOT required to explicitly bind event handlers to a page event.
-
you are required to explicitly bind event handlers to a page event.
Correct Answer: C
QUESTION 108
You need to enable tracing for a Web application. The trace information should be visible at the bottom of all of the application’s Web pages when you access them from the server, but it should not be visible to users who connect to the site from another computer. Which element should you add to the <system.web> element of the Web.config file?
-
<trace enabled=”true” localOnly=”true” pageOutput=”false” />
-
<trace enabled=”true” localOnly=”false” pageOutput=”true” />
-
<trace enabled=”true” localOnly=”true” pageOutput=”true” />
-
<trace enabled=”false” localOnly=”true” pageOutput=”true” />
Correct Answer: C
QUESTION 109
Which statement about accessing Request.QueryString without specifying an index is true?
-
If a specified variable is not assigned a value, an empty collection is returned.
-
If a specified variable has multiple values, an exception is thrown.
-
If a specified variable is not assigned a value, an exception is thrown.
-
If a specified variable has multiple values, only the first value for the specified variable is returned.
Correct Answer: A
QUESTION 110
Your Web application displays data from an Oracle database in a GridView control. You want to allow users to update the data displayed in the GridView control. Which of the following should you use? (Each correct answer presents part of the solution. Choose two.)
-
An XmlDataSource control
-
A SqlDataSource Control
-
The Bind method
-
The Eval method
Correct Answer: BC
Instant Access to Download Latest Complete Collection of Microsoft MTA 98-363 Real Exam
Try Microsoft MTA 98-363 Free Demo
70-410 Dumps VCE PDF
70-411 Dumps VCE PDF
70-412 Dumps VCE PDF
70-413 Dumps VCE PDF
70-414 Dumps VCE PDF
70-417 Dumps VCE PDF
70-461 Dumps VCE PDF
70-462 Dumps VCE PDF
70-463 Dumps VCE PDF
70-464 Dumps VCE PDF
70-465 Dumps VCE PDF
70-480 Dumps VCE PDF
70-483 Dumps VCE PDF
70-486 Dumps VCE PDF
70-487 Dumps VCE PDF