You are creating a Web Form. The Web Form allows users to rename or delete products in a list. You create a DataTable named dtProducts that is bound to a GridView. DataTable has the following four rows. dtProducts. Rows[0]["ProductName"] = “Soap”;dtProdu

题目

You are creating a Web Form. The Web Form allows users to rename or delete products in a list. You create a DataTable named dtProducts that is bound to a GridView. DataTable has the following four rows. dtProducts. Rows[0]["ProductName"] = “Soap”;dtProducts. Rows[1][“ProductName”]= “Book”;dtProducts. Rows[2][“ProductName”]= “Computer”;dtProducts. Rows[3][“ProductName”]= “Spoon”;dtProducts. AcceptChanges( ); The user utilizes a Web Form to delete the first product. You need to set the RowStateFilter property of the DataTables DefaultView so that only products that have not been deleted are shown. To which value should you set the DataTabless DefaultView.RowStateFilter? ()

  • A、Data V iewRowState.ModifiedOriginal;
  • B、Data V iewRowState.ModifiedCurrent;
  • C、Data V iewRowState.CurrentRows;
  • D、Data V iewRowState.Added;

相似考题
更多“You are creating a Web Form. Th”相关问题
  • 第1题:

    You work as a Web Developer at Certkiller.com. You are in the process of creating a Webapplication using Microsoft ASP.NET 3.5.  An exception management framework is not used in the Web application. You need to ensure thatthe application log the unhandled exceptions automatically to the event log. You need to configurethe Web.config file to accomplish this. Identify the configuration that will assist you in thisscenario?()

    • A、You should consider using the <healthMonitoring enabled="true"/> configuration.
    • B、You should consider using the <deployment retail="true"/> configuration.
    • C、You should consider using the <customErrors mode="On"/> configuration.
    • D、You should consider using the <trace enabled="true"/> configuration.

    正确答案:A

  • 第2题:

    You create a Web Form that contains connected Web Parts. You write the following declaration in your Web Form. You need to ensure that your Web Part connection is valid. Which two actions should you perform? ()

    • A、Include a data source identified as "WebPartConnection1" on the Web Form.
    • B、Include a Web Part identified as "customerPart" on the Web Form.
    • C、Include a Web Part identified as "ordersPart" on the Web Form.
    • D、Ensure that you declare an interface named "IOrdersPart".
    • E、Ensure that you declare an interface named "ICustomerPart".
    • F、Ensure that each Web Part declares either a GetInterface or ProvideInterface method.

    正确答案:B,C

  • 第3题:

    You are creating a custom control. The UI of the control must contain several text boxes and two buttons. The control must be available in the global assembly cache for reuse across multiple Web applications. You need to achieve this functionality by using the minimum amount of code. What should you do? ()

    • A、Create a control that derives from System.Web.UI.Control.
    • B、Create a control that derives from System.Web.UI.WebControls.CompositeControl.
    • C、Create a control that derives from System.Web.UI.WebControls.WebControl.
    • D、Create a control that derives from System.Web.UI.UserControl.

    正确答案:B

  • 第4题:

    多选题
    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 application holds a Web page named MyHome.aspx.  You are creating a button with a rolloverimage on MyHome.aspx. However, when mouse hovered over the button image, the rolloverimage is retrieved from the server in a separate request. You need to use an improved rollover button in which the button„s rolloverimage is already downloaded and stored in the browser’s cache, as a result when you hover over the button, it is instantly displayed. What will you do to accomplish this?()
    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,B
    解析: 暂无解析

  • 第5题:

    单选题
    You are creating a Web application that will run on an intranet. The Web application reads comma-delimited text files. The text files reside in a subdirectory below the Web application's root directory. Users must not be able to navigate directly to these files in a Web browser unless they are members of the Accounting role. You need to write an ASP.NET HTTP handler that will use the FileAuthorizationModule class. Which form of authentication should you use?()
    A

     Anonymous

    B

     Certificate

    C

     Forms

    D

    Microsoft Windows Integrated Security


    正确答案: C
    解析: 暂无解析

  • 第6题:

    单选题
    You are creating a Web Form. The Web Form allows users to rename or delete products in a list. You create a DataTable named dtProducts that is bound to a GridView. DataTable has the following four rows. dtProducts. Rows[0]["ProductName"] = “Soap”;dtProducts. Rows[1][“ProductName”]= “Book”;dtProducts. Rows[2][“ProductName”]= “Computer”;dtProducts. Rows[3][“ProductName”]= “Spoon”;dtProducts. AcceptChanges( ); The user utilizes a Web Form to delete the first product. You need to set the RowStateFilter property of the DataTables DefaultView so that only products that have not been deleted are shown. To which value should you set the DataTabless DefaultView.RowStateFilter? ()
    A

    Data V iewRowState.ModifiedOriginal;

    B

    Data V iewRowState.ModifiedCurrent;

    C

    Data V iewRowState.CurrentRows;

    D

    Data V iewRowState.Added;


    正确答案: C
    解析: 暂无解析

  • 第7题:

    单选题
    You are creating a Windows Forms application by using the .Net Framework 3.5.You plan to display detailed help instructions for each control in the form.You create a help file.You configure a HelpProvider component on the form. You need to display the help file for the control that is focused when the F1 key is pressed.Which method of the HelpProvider class should you call for each control?()
    A

    SetShowHelp

    B

    SetHelpString

    C

    SetHelpKeyword

    D

    SetHelpNavigator


    正确答案: D
    解析: 暂无解析

  • 第8题:

    You are creating a templated Web control for use in your Web application. You need to add the Web control to your Web application pages without compiling your control into a .dll file. What should you do?()

    • A、Ensure that the Web control inherits from the WebControl class.
    • B、Ensure that the Web control inherits from the Control class.
    • C、Ensure that the Web control inherits from the CompositeControl class.
    • D、Ensure that the Web control inherits from the UserControl class.

    正确答案:D

  • 第9题:

    You create a Web Form. You need to add controls that use adaptive rendering to display content. The type of content rendered must depend on the device that is requesting the page. What are two possible ways to achieve this goal? ()

    • A、Add custom controls that emit XHTML to the Web Form.
    • B、Add custom controls that emit WML to the Web Form.
    • C、Add mobile controls to the Web Form.
    • D、Add Web server controls to the Web Form.

    正确答案:C,D

  • 第10题:

    单选题
    You are creating a Web Form. The Web Form allows users to rename or delete products in a list. You create a DataTable named dtProducts that is bound to a GridView. DataTable has the following four rows. dtProducts. Rows(0)("ProductName") = "Soap"dtProducts. Rows(1)("ProductName") = "Book"dtProducts. Rows(2)("ProductName") = "Computer"dtProducts. Rows(3)("ProductName") = "Spoon"dtProducts. AcceptChanges( ) The user utilizes a Web Form to delete the first product. You need to set the RowStateFilter property of the DataTables DefaultView so that only products that have not been deleted are shown. To which value should you set the DataTabless DefaultView.RowStateFilter?()
    A

    Data View Row State.Modified Original

    B

    Data View Row State.Modified Current

    C

    Data View Row State.Current Rows

    D

    Data View Row State.Added


    正确答案: A
    解析: 暂无解析

  • 第11题:

    单选题
    You install the Web Server (IIS) role on a new server that runs Windows Server 2008.  You install a Microsoft .NET Framework 1.0 application on a Web site on the Web server. The company security policy states that all applications must run by using the minimum level of permission.  You need to configure the Web site application so that it has the permissions to execute without creating any other content and without accessing any operating system components. What should you do?()
    A

    Set the .NET Framework trust level to Full for the Web site.

    B

    Set the .NET Framework trust level to Low for the Web site.

    C

    Set the .NET Framework trust level to High for the Web site.

    D

    Set the .NET Framework trust level to Medium for the Web site.


    正确答案: C
    解析: 暂无解析

  • 第12题:

    单选题
    You create a Web Form that contains a text box named txtDate. You want the text box to allow users to enter any valid date. You need to use an ASP.NET validation control to ensure that only valid date values are submitted to the server. What should you do?()
    A

    Add a CompareValidator control to the Web Form. Set its ControlToValidate property to txtDate. Set its Type property to Date. Set its Operator property to DataTypeCheck.

    B

    Add a RangeValidator control to the Web Form. Set its ControlToValidate property to txtDate. Set its Type property to Date. Set its MinimumValue property to 01/01/1900 and its MaximumValue to the current date.

    C

    Add a CustomValidator control to the Web Form. Set its ControlToValidate property to txtDate. Write a function in the partial class that verifies the values as dates and returns a Boolean variable. Set the CustomValidators ClientValidationFunction to the name of your function.

    D

    Add a RegularExpressionValidator control to the Web Form. Set its ControlToValidate property to txtDate. Set the ValidationExpression property to ensure that the users input follows the format of nn-nn-nnnn, where n represents a number from 0 through 9.


    正确答案: A
    解析: 暂无解析

  • 第13题:

    单选题
    You are creating a web form with this HTML: 11. 12. 13. 14. 15. Which HTTP method is used when sending this request from the browser?()
    A

    GET

    B

    PUT

    C

    POST

    D

    SEND

    E

    FORM


    正确答案: A
    解析: 暂无解析