Exhibit: You are developing a Web application. The Web application uses a GridView control to display data. You build your Web Forms for the Web application by dragging and dropping tables from the Data Connections tree in Server Explorer. You need to add a connection to your data by using the Add Connection dialog box as shown in the exhibit. During the process, you need to configure the .NET Data Provider that you use to create the data source objects. What should you do?()A. Right-click the connection, and click Properties. Modify the Provider property of the data connection.B. Click the Change button, and change the data provider for the selected data source.C. Click the Advanced button, and change the Data Source property to the target provider.D. Click the Advanced button, and change the Application Name property to the target provider.

Exhibit: You are developing a Web application. The Web application uses a GridView control to display data. You build your Web Forms for the Web application by dragging and dropping tables from the Data Connections tree in Server Explorer. You need to add a connection to your data by using the Add Connection dialog box as shown in the exhibit. During the process, you need to configure the .NET Data Provider that you use to create the data source objects. What should you do?()

A. Right-click the connection, and click Properties. Modify the Provider property of the data connection.

B. Click the Change button, and change the data provider for the selected data source.

C. Click the Advanced button, and change the Data Source property to the target provider.

D. Click the Advanced button, and change the Application Name property to the target provider.


相关考题:

表格视图GridView控件的基类是( )。A.System.Web.UI.WebControlsB.System.Data.OdbcConnectionC.System.Web.UID.System.Web.UI.WebControls.DataGrid

If _______ want to stay in good shape, you should do more exercise. A.weB.peopleC.oneD.you

你正在创建一个可以供 Web 应用使用的模板化 Web 控件。你需要在没有编译的情况下能够把此控件增加到你的 Web 页面上,你应该如何做?() A.确保Web控件从WebControl类继承。B.确保Web控件从Control类继承.C.确保Web控件从CompositeControl类继承.D.确保Web控件从UserControl类继承.

当 Web 应用关闭后,你需要人工释放资源。为此,你应该响应哪一个事件?() A.Application_BeginRequestB.Application_EndC. Application_StartD.Application_EndRequest

WhatisthenameoftheWebLogicspecificdeploymentdescriptorofJavaEnterpriseApplication?() A.application.xmlB.weblogic.xmlC.web.xmlD.weblogic-application.xmlE.config.xml

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.

下面选项中,创建Servlet类后需要在哪个配置文件中进行配置()。A.web-config.xmlB.application.xmlC.config.xmlD.web.xml

1、当有用户请求 Web页面时,会触发()事件?A.Application_Start()B.Session_Start()C.Application_End()D.Session_End()

当有用户请求 Web页面时,会触发()事件?A.Application_Start()B.Session_Start()C.Application_End()D.Session_End()

试述Web数据库应用程序开发中SqlDataSource和GridView控件的使用方法。