A.Add the following code to the Web.config file.
B.Add the following code to the Web.release.config file.
C.Add the following code to the Web.config file:
D.Add the following code to the Web.release.config file.
您可能感兴趣的试卷
你可能感兴趣的试题
A.Use JavaScript Object Notation.
B.Use the RegisterClientScriptBlock method.
C.Use the RegisterClientScriptlnclude method.
D.Build a JavaScript function.
E.Use the RegisterClientScriptResource method.
A.Use RangeValidator.
B.Use RegularExpressionValidator
C.Use RequiredValidator
D.Use CompareValidator
E.Use RequiredFieldValidator
A.<%= Html.ActionLink("MyTest", "MyHome", new {area = "test"}, null)%>
B.<%= Html.RouteLink("MyHome", "MyTest", new {area = "test"}, null)%>
C.<%= Html.RouteLink("MyTest", "MyHome", "MyTest", new {area = "test"}, null)%>
D.<%= Html.ActionLink("MyTest", "MyHome", "MyTest", new {area = "test"}, null)%>
A.<%@ PreviousPageType VirtualPath ="~/MyPage.aspx"% >
B.<%@ PreviousPageType VirtualPath ="/MyPage.aspx/ ~"% >
C.<%@ PreviousPageType VirtualPath ="~/MyPage.master"% >
D.<%@ PreviousPageType VirtualPath ="~/MyPage"% >
A.@ MasterType
B.@ Master
C.@ PageType
D.@ MasterPage
A.Add the following configuration to the
B.Add the following configuration to the
C.Add the following @ Page directive to pages that query the database.
D.Add the following @ Page directive to pages that query the database.
You are developing an ASP.NET Web service. The following code segment implements the service.
You need to ensure that both GetProduct methods can be called from a Web client. Which two actions should you perform?()
A.Remove line 01.
B.Add the static modifier on lines 05 and 11.
C.Add the following attribute before line 10. [SoapDocumentMethod(Action="GetProductById")]
D.Modify the attribute on line 10 as follows. [WebMethod(MessageName="GetProductById")]
A.OnLoad
B.Construct
C.OnDataBinding
D.SaveControlState
A.AjaxHelper
B.XDocument
C.JsonResult
D.DataContractJsonSerializer
You are developing an ASP.NET Web page. The page contains the following markup.
The pages code-behind file includes the following code segment.
You need to get a reference to the Image named img. Which code segment should you add at line 06?()
A.Image img = (Image)Page.FindControl("img");
B.Image img = (Image)e.Row.FindControl("img");
C.Image img = (Image)gvModels.FindControl("img");
D.Image img = (Image)Page.Form.FindControl("img");
最新试题
You are developing an ASP.NET Web page that uses jQuery validation. The user should enter a valid email address in a text box that has ID txtEmail. The page must display "E-Mail address required" when the user does not enter an address and "Invalid e-mailaddress" when the user enters an address that is not formatted properly. You need to ensure that the appropriate error message is displayed when the text box does not contain a valid e-mail address. Which two code segments should you add?()
Which class defines the contract that ASP.NET implements to provide membership services using custom membership providers?()
You are developing a Asp.net web application tht includes a panel control that has ID contentsection.You need to add a textBox control to the panel control.()
In a page there is a div (I guess it was a div) and you need to execute a javascript function when if first moves the mouse over the element.()
You need to ensure that when the button is clicked, both update panels update the tim without generating a postback. What should you do?()
Which utility allows you to pre-compile and publish your Web site to a new location?()
A library called contosobuisness.dll has been created and u need to accept it in a page.. all options had the <%assembly tag but the att differed.()
In a web page with chechboxes you need to write e jquery that retruns the number checked checkboxes.()
You have a login.ascx control and to display it in a view which method u would use()
You work as an ASP.NET Web Application Developer for SomeCompany. The company uses Visual Studio .NET 2010 as its application development platform. You are creating an ASP.NET Web application using .NET Framework 4.0. The Web application comprises a class named Employee with properties named as First Name, Last Name, and Age. You add a Web page in which you get a list of Employee objects and display those objects in a GridView control. You are required to add code so that the GridView row is highlighted in red color if the age of the employee is less than 21 years. What will you do to accomplish this?()