题目内容 (请给出正确答案)
[主观题]

你正在开发一个 Web 应用。这个 Web 应用使用 GridView 控件去显示数据。现在,你可以增加一个 Web 窗体,然后通过拖放在服务资源管理器的数据连接树上的表到这个 Web 窗体上来进行数据的显示。为此,你需要使用如下图的增加连接对话框创建一个数据连接。在整个处理的过程中,你需要为你的数据源配置数据提供程序;请问,你应该怎么做?()

你正在开发一个 Web 应用。这个 Web 应用使用 GridView 控件去显示数据。现在,你可以

A. 在连接上点击右键,然后单击属性,修改数据连接的数据提供程序属性。

B. 单击“更改”按钮,然后为选择的数据源改变数据提供程序。

C. 单击“高级”按钮,然后改变Data Source属性值为目标提供着。

D. 单击“高级”按钮,然后改变 Application Name 属性值为目标提供着。

提问人:网友jellongd 发布时间:2022-01-07
参考答案
查看官方参考答案
如搜索结果不匹配,请 联系老师 获取答案
更多“你正在开发一个 Web 应用。这个 Web 应用使用 Gri…”相关的问题
第1题
你正在新建一个 Web 窗体。这个 Web 窗体允许用户登录到这个 Web 站点。为此,你使用ID 为 Login1
的 Login 控件去实现登录逻辑。其中,成员资格数据(membership)存储在位于 App_Data 目录下的一个 SQL Express 数据库中。你在 Web.config 文件中增加如下的 XML段来配置你的应用:为了使你的成员资格(membership )配置成功;下面,那两步工作你也必须完成?()

A. 使用Aspnet_regsql.exe去创建Microsoft SQL Server 数据库

B. 设置Login1‘控件的MembershipProvider属性值为MySqlProviderConnection。

C. 增加下面的代码段到Web.config文件:

D. 增加下面的代码段到Web.config文件.:

E. 在IIS中的ASP.NET配置里启用角色管理。

F. 在ASP.NET 站点配置工具中,选择AspNetSqlMembershipProvider 作为你站点的成员数据 提供程序(membership provider)

点击查看答案
第2题
您正在测试一个名为PersistToDB的新开发的方法。此方法接受EventLogEntry类型的参数。此方法不返回值。您需要创建一个可帮助您测试该方法的代码段。代码段必须从本地计算机的应用程序日志中读取条目,然后将条目传递到PersistToDB方法。代码块必须只将Error或Warning类型的事件从源MySource”传递到PersistToDB方法。您应该使用哪个代码段?()

A.A

B.B

C.C

D.D

点击查看答案
第3题
假设你有一个订购图书的Web站点。其中有一个方法包含如下的代码段:现在,你需要从XmlDocument中移除discount元素。下面那两个代码段能达到这个目标?()

A. XmlNode root = doc.DocumentElement;root.RemoveChild(root.FirstChild);

B. XmlNode root = dec.DocumentElement;root.RemoveChild(root.SelectSingleNode(“discount”));

C. doc.RemoveChild(doc.FirstChild);

D. doc.DocumentElement.RemoveChild(doc.FirstChild);

点击查看答案
第4题
our company has computers in multiple locations that use IPv4 and IPv6. Each location is protected by a firewall that performs symmetric NAT. You need to allow peer-to-peer communication between all locations. What should you do?()

A.configure dynamic NAT on the firewall.

B.configure the firewall to allow the use of teredo.

C.Configure a link local IPv6 address for the internal interface of the firewall.

D.Configure a global IPv6 address for the external interface of the firewall.

点击查看答案
第5题
YourcompanyhasanActiveDirectoryforest.Theforestincludesorganizationalunitscorrespondingtothefollowingfourlocations:(London.Chicago.NewYork.Madrid

EachlocationhasachildorganizationalunitnamedSales.TheSalesorganizationalunitcontainsalltheusersandcomputersfromthesalesdepartment.

TheofficesinLondon,Chicago,andNewYorkareconnectedbyT1connections.TheofficeinMadridisconnectedbya256-KbpsISDNconnection.

Youneedtoinstallanapplicationonallthecomputersinthesalesdepartment.

Whichtwoactionsshouldyouperform()

点击查看答案
第6题
您要写下面的名为 CustomException的自定义异常类public class CustomException : ApplicationException { public static int COR_E_ARGUMENT = unchecked((int)0x80070057); public CustomException(string msg) : base(msg) { HResult = COR_E_ARGUMENT; }}您需要编写一段代码,这段代码要使用ustomException 类,并且要迅速返回控制权给COM 调用方法。 您应该使用哪个代码?()

A.return Marshal.GetExceptionForHR(CustomException.COR_E_ARGUMENT);

B.return CustomException.COR_E_ARGUMENT;

C.Marshal.ThrowExceptionForHR(CustomException.COR_E_ARGUMENT);

D.throw new CustomException(“Argument is out of bounds”);

点击查看答案
第7题
Your company has deployed network access protection (NAP) enforcement for VPNs. You need to ensure that the health of all clients can be monitored and reported. What should you do?()

A.Create a group policy object (GPO) that enabled security center and link the policy to the domain.

B.Create a group policy object (GPO) that enabled security center and link the policy to the domain controllers organizational unit (OU).

C.Create a group policy object (GPO) and set the require trusted path for credential entry option to enabled. Link the policy to the domain.

D.Create a group policy object (GPO) and set the require trusted path for credential entry option to Enabled. Link the policy to the domain controllers organizational unit (OU).

点击查看答案
第8题
our network contains a Network Policy Server (NPS) named Server1.You need to configure a network policy for a VLAN.Which RADIUS attributes should you add?()

A. ¡¤Logi-LAT-ServiceˆLogin-LAT-Node ˆLogin-LAT-Group ˆNAS-Identifier

B. ¡¤Tunne-Assignment-ID ˆTunnel-Preference ˆTunnel-Client-Auth-ID ˆNAS-Port-Id

C. ¡¤Tunne-Client-Endpt ˆTunnel-Server-Endpt ˆNAS-Port-Type ˆTunnel-Password

D. ¡¤Tunne-Medium-Type ˆTunnel-Pvt-Group-ID ˆTunnel-Type ˆTunnel-Tag

点击查看答案
第9题
选择正确的选项()

A.A

B.B

C.C

D.D

E.E

F.F

点击查看答案
账号:
你好,尊敬的用户
复制账号
发送账号至手机
密码将被重置
获取验证码
发送
温馨提示
该问题答案仅针对搜题卡用户开放,请点击购买搜题卡。
马上购买搜题卡
我已购买搜题卡, 登录账号 继续查看答案
重置密码
确认修改
欢迎分享答案

为鼓励登录用户提交答案,简答题每个月将会抽取一批参与作答的用户给予奖励,具体奖励活动请关注官方微信公众号:简答题

简答题官方微信公众号

警告:系统检测到您的账号存在安全风险

为了保护您的账号安全,请在“简答题”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!

微信搜一搜
简答题
点击打开微信
警告:系统检测到您的账号存在安全风险
抱歉,您的账号因涉嫌违反简答题购买须知被冻结。您可在“简答题”微信公众号中的“官网服务”-“账号解封申请”申请解封,或联系客服
微信搜一搜
简答题
点击打开微信