单项选择题You create a Web application to process XML documents. The Web application receives XML document files from several sources, reads them, and stores them in a Microsoft SQL Server database. The Web application parses all incoming data files to ensure that they conform to an XML schema. You need to find all validation errors in the XML document. What should you do?()

A. Load the XML data by using an instance of the XmlDocument class and specify a location for the application schema.
B. Configure the ValidationEventHandler in the XmlReaderSettings of the XmlReader object.
C. Read the XML file into a DataSet object and set the EnforceConstraints property to True.
D. Read the XML file into a DataSet object. Handle the DataSet.MergeFailed event to parse the data that does not conform to the XML schema.


您可能感兴趣的试卷

你可能感兴趣的试题

1.多项选择题你使用拖放控件到 Visual Studio 2005 页面设计器的方式,给 ASP.NET Web 窗体增加了一个用户控件 MyControl。请问,Visual Studio 给你的 Web 窗体做了那些变化?()

A.为 Web 窗体的 body 增加了<control id="MyControl1" Runat="server" />元素。
B.为 Web 窗体增加了@ Register 标记。
C.为 Web 窗体的 body 增加了<uc1:MyControl id="MyControl1" Runat="server" /> 元素。
D.在 Web 窗体的节增加了<meta control="MyControl"> 元素。
E.为 Web 窗体增加了@ Control 标记。

2.多项选择题

请问在下图中使用了哪两个控件?()

A.Login
B.Login View
C.Login Status
D.Login Name
E.Password Recovery


4.多项选择题你需要在运行时通过程序引用一个用户控件,下面那些是可行的方案?()

A.在用户控件的@ Control 标记内包含ClassName 属性。
B.用户控件实现为单个Page,而不是code-behind。
C.ASP.NET Web 页实现为单个Page,而不是code-behind。
D.使用控件的ASP.NET Web 页包含一个@ Reference 标记。

最新试题

You create a Web Form. The Web Form allows users to calculate values and display the results in a label named lblResults. You need to capture all unhandled exceptions on the Web Form through the Error event. The Error event must capture each unhandled exception and display it on the Web Form.Which code segment should you use?()

题型:单项选择题

ou are developing a chat forum for the Certkiller .com Web site. You are using ASP.NET 2.0 to develop the chat forum. You are developing a Web Form that allows a subscriber to alter enter their account details. The page contains the following code snippet.You need to programmatically hide the TextBox control based on other input.What should you do?()

题型:单项选择题

Certkiller .com's e-Commerce Web application contains a page named Products.aspx that uses data source and data-bound server controls. Customers use the server controls to search for products. The Products.aspx page does not have an associated code-behind file. You need to convert the Products.aspx page to a user control so that its functionality can be reused on other pages.What should you do?()

题型:多项选择题

You create a server control that inherits from WebControl. You need to enable the server control to emit markup for a new kind of mobile device. You must not alter the code in the server controls.Which two actions should you perform?()

题型:多项选择题

You create Web sites for your company. You apply a consistent design to the pages and controls of the Web sites. You need to make style changes to all of the Web sites on the Web server. You want to achieve this goal without having to edit the individual pages on each Web site.Which two actions should you perform?()

题型:多项选择题

You are developing a page named Process.aspx in a shopping cart Web application that will be integrated into Certkiller .com's existing e-Commerce Web site. The Process.aspx page allows customers to pay for purchases using their credit cards. The Process.aspx page contains a Button control that confirms the customer's payment and calls an external Web service that charges the customer's credit card. You must implement confirmation and prevent postback unless the customer confirms payment.What should you do?()

题型:单项选择题

You create a Web site for a customer. You need to deploy the Web site to the customers server without any of the source files for the Web site. You do not want the customer to be able to update any of the static pages on the Web site.Which tool should you use?()

题型:单项选择题

You are developing a page named Products.aspx in a Web application that contains three DropDownList controls that are dynamically loaded from a SQL Server 2005 database file. The DropDownList controls represent a vendor list, a certification list, and an exam list. Certkiller .com customers use the Products.aspx page to select exams related to particular certifications on offer from a particular vendor. A Go button initiates the selection. Each DropDownList control has an associated RequiredFieldValidator control.Whenever the customer selects a vendor, and the vendor offers certifications, then the customer must also select a certification if the. If the vendor only offers exams and not certifications, the certification list should remain hidden. Whenever the customer selects a certification, the customer must also select an exam. Validation error messages should only be displayed when the Go button is clicked. You need to set properties on the vendor DropDownList control.What should you do?()

题型:单项选择题

You create a Web application for your company's intranet. You want to enable users to customize their versions of the intranet home page. You create sections of content as Web Parts. You need to ensure that users can customize content at any time.Which two code segments should you use?()

题型:多项选择题

You create a Web application. The Web application enables users to change fields in their personal profiles. Some of the changes are not persisting in the database. You need to raise a custom event to track each change that is made to a user profile so that you can locate the error.Which event should you use? ()

题型:单项选择题