移动端

  • 题王微信公众号

    题王微信公众号

    微信搜“题王网”真题密题、最新资讯、考试攻略、轻松拿下考试

单选题

Certkiller.com has hired you as a Web Application Developer for their network. The previousadministrator created a Microsoft ASP.NET application using Microsoft .NET Framework v3.5.  You check and discover that the application contains a DataSourceControl named CatDS1. ThisDataSourceControl is bound to a Microsoft SQL Server 2005 table. The primary key of the table isthe CatName column. The code below is written in the FormView control. (The line numbers isincluded for reference purposes) 01  02 Category: 03  04 05 DataSourceID="CatDS1" 06 DataTextField="CatName" 07 DataValueField="CatID" 08 Runat="server" /> 09  10   You have to make sure that any modifications made to the CatID field is written to the database.You should therefore identify the code segment that has to be added in line 04.  What should you identify?()

发布日期:2020-04-10

Certkiller.com has hired you as a Web Application ...
A

Your best option would be to add the SelectedValue='<%# Bind(CatName) %>' codesegment.

B

Your best option would be to add the SelectedValue='<%# Bind(CatID) %>' code segment.

C

Your best option would be to add the SelectedValue='<%# Eval(CatID) %>' code segment.

D

Your best option would be to add the SelectedValue='<%# Eval(CatName) %>' codesegment.

题王网让考试变得更简单

扫码关注题王,更多免费功能准备上线!

此试题出现在

CMS专题

CMS专题

去刷题
热门试题热门资讯 相关试题

暂无相关推荐~