MCSD.NET - 70-315 Exam Question:
Download Questions PDF

You are creating an ASP.NET page for a travel service. The page contains a CheckBoxList
control that contains travel destinations. Customer can select favorite destinations to receive
weekly e-mail updates of travel packages.
The CheckBoxList control is bound to a database table of possible destinations. Each destination
is ranked according to its popularity. You modify the page to sort the destination list by rank, from
the most popular to the least popular. The list has three columns.
You want the most popular destination to be on the top row of the check box list at run time.
Which property setting should you use for the CheckBoxList control?
A. Set the RepeatDirection property to Vertical.
B. Set the RepeatDirection property to Horizontal.
C. Set the RepeatLayout property to Flow.
D. Set the RepeatLayout property to Table.

Answer:

B. Set the RepeatDirection property to Horizontal.

Download MCSD.NET - 70-315 Exam Interview Questions And Answers PDF

Previous QuestionNext Question
You are creating a Web site for XYZ. You receive product lists in the form of XML documents.
You are creating a procedure to extract information from these XML documents according to
criteria that your users will select.
When a user makes a request, you want the results of these requests to be returned as quickly
as possible. What should you do?
A. Create an XmlDataDocument object and load it with the XML data.
Use the DataSet property of the object to create a DataSet object.
Use a SQL SELECT statement to extract the requested data.
B. Create an XmlDataDocument object and load it with the XML data.
Use the SelectNodes method of the object to extract the requested data.
C. Create an XPathDocument object and load it with the XML data.
Call the CreateNavigator method to create an XPathNavigator object.
Call the Select method of the XPathNavigator object to run an XPath query that extracts the
requested data.
D. Create an XmlReader object.
Use the Read method of the object to stream through the XML data and to apply an Xpath
expression to extract the requested data.
Suppose You ASP.NET application manages order entry data by using a DataSet object named
EXorderEntry. The EXorderEntry object includes two DataTable objects named orderNames and
OrderDetails. A ForeignKeyConstraint object named orderDetailsKey is defined between the two
DataTable objects.
You attempt to delete a row in orderNames while there are related rows in OrderDetails, and an
exception is generated.
What is the most likely cause of the problem?
A. The current value of OrderDetails.KeyDeleteRule is Rule.Cascade.
B. The current value of OrderDetails.KeyDeleteRule is Rule.SetNull.
C. The current value of OrderDetails.KeyDeleteRule is Rule.SetDefault.
D. The current value of OrderDetails.KeyDeleteRule is Rule.None.