单项选择题
You work as a Web Developer at Certkiller.com. You are in the process of creating a Webapplication using Microsoft ASP.NET 3.5. The following markup should be added to a page:
The Question control is a custom server control that originates from the WebControl. This controldoes not implement any interfaces. The following characteristics are applied to the control’s class:ToolboxData, Designer, and DefaultProperty. You have to make sure that the Question control is able to participate in server-side validation onthis page.
What should you do?()
A.You should consider modifying the Question control’s class in order to implement IValidator.
B.You should consider setting the ValidationGroup property of the RequiredFieldValidator controlto UserControl.
C.You should apply the ValidationProperty feature to the Question control’s class.
D.You should consider setting the InitialValue property of the RequiredFieldValidator control to anempty string.
相关考题
-
单项选择题
You are employed as a network administrator at Certkiller.com. You are in the process of creatingan Asp.Net application using Microsoft .NET Framework v3.5. The application is hosted on a server named CERTKILLER-SR01. CERTKILLER-SR01 isconfigured to run Microsoft IIS 6.0. You receive several requests from management to set upCERTKILLER-SR01 for remote debugging. You need to make use of CERTKILLER-WS01 inorder to debug the application remotely. What should you do?()
A.This can be accomplished by attaching Microsoft Visual Studio.NET to the inetinfo.exe process.
B.This can be accomplished by attaching Microsoft Visual Studio.NET to the Msvsmon.exeprocess.
C.This can be accomplished by attaching Microsoft Visual Studio.NET to theWebDev.WebServer.exe process.
D.This can be accomplished by attaching Microsoft Visual Studio.NET to the w3wp.exe process. -
单项选择题
Certkiller.com has hired you as a network administrator for their network. You are in the process ofcreating an ASP.NET application using .NET Framework v3.5. The newly created applicationcontains a DataSourceControl. This control is named KingCatagory. This control is bound to a Microsoft SQL Server 2005 table.The primary key of this table is the CatName column. In the FormView control you write thefollowing code. (The line numbers is included for reference purposes) 1 <tr> 2 <td align="right"><b>Category:</b></td> 3 <td><asp:DropDownList ID="DropDownList1" Runat="server" 4 5 DataSourceID="ds1" DataTextField="CatName" DataValueField="CatID" /> 9 </td> 10 </tr> You receive an instruction frommanagement to make sure that modifications made to the CatIDfield can be written to the database. You thus need to determine the appropriate code fragmentthat needs to be added at line 4. What should you identify?()
A.A
B.B
C.C
D.D -
单项选择题
You work as a Web Developer at Certkiller.com. You create a Web application using MicrosoftASP.NET 3.5. The Web application is hosted on a Web farm. The Web farm consists of three Web servers. Youshould configure the Web application for session state in order to meet the following requirements: * The session state data should not be lost if a server fails. * The session state should be maintained across browser requests by the same user. You need to configure the Web.config file to meet these requirements. What shuld you do?()
A.A
B.B
C.C
D.D
