Which code segment should you add to the Page_Load event?
You create a Web Form that allows users to create a new account. You add a CreateUserWizard control by using the following code segment.
You need to ensure that the wizard automatically sends an e-mail message to users when they finish creating their accounts. You add a valid element to the Web.config file. Which code segment should you add to the Page_Load event?
Which method should you use to write all buffered data in the stream to the device without losing any buffered
You are busy using the XmlWriter class to write large amount of XML data to a physical device via a buffer stream. Which method should you use to write all buffered data in the stream to the device without losing any buffered data?
which will be most memory-efficient way?
You have to read large amounts of XML data. The data resides on an external data source. You need to read the XML data and validate it as it is read. Which of the following classes should you use which will be most memory-efficient way?
Which of the following events should you use to handle the events of the XmlDocument class?
You are busy using the XmlDocument class to control an XML document. If the XML attribute is modified and inserted, you need to perform validation and return the XmlDocumant instance to the original state if the validation fails. Which of the following events should you use to handle the events of the XmlDocument class?
Which code segment should you use?
A Windows Forms application reads the following XML file.
<?xml version="1.0"?>
<x:catalog xmlns:x="urn:books">
<book id="bk101">
<author>Gambardella, Matthew</author>
<title>XML Developer’s Guide</title>
</book>
<book id="bk102">
<author>Ralis, Kim</author>
<title>Midnight Rain</title>
</book>
</x:catalog>
The form initialization loads this file into an XmlDocument object named docBooks. You need to populate a ListBox control named lstBooks with the concatenated book ID and title of each book. Which code segment should you use?
when you double-click the control in the designer. How should you configure the control?
A Domain.com manager named Andy Booth has asked you to develop a custom control that exposes a custom event. The custom event should be of such a caliber that the event handler for the event is automatically added to the code when you double-click the control in the designer. How should you configure the control?
What should you do to change the control so that it will allow the Certkiller .com uses to change the selected
You have just included a DateTimePicker control to a form.
You then set the format property to Time.
During the cause of the day, you check how the DateTimePicker control is working, and learnt that it does not allow the Domain.com users to change the selected time. What should you do to change the control so that it will allow the Domain.com uses to change the selected time?
Which two actions should you perform?
You are creating a Windows user control named UrlRequest. UrlRequest contains a ComboBox control named cboUrl and a Button control named btnGo. When the user clicks btnGo, you want the UrlRequest control to provide notification that the value of cboUrl changed. You need to implement the notification functionality. Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
Which code segment should you use?
You want to execute an event handler asynchronously from a Windows Form. You need to write code that uses the BackgroundWorker component named bgwExecute to execute the WorkHandler method. Which code segment should you use?
Which code segment should you use?
You are creating a Windows Forms application. You implement the asynchronous design pattern by using a delegate named DataUpdateHandler. DataUpdateHandler executes a method named DataUpdater. You create an instance of the DataUpdateHandler that has the variable name Updater. DataUpdater uses a DataSet class as a parameter and returns an integer value that indicates the number of rows that have been updated. You need to use a method name DisplayResult to display the result when the database update is complete. Which code segment should you use?