单项选择题

Certkiller.comhashiredyouasaWebApplicationDeveloperfortheirnetwork.ThepreviousadministratorcreatedaMicrosoftASP.NETapplicationusingMicrosoft.NETFrameworkv3.5.
YoucheckanddiscoverthattheapplicationcontainsaDataSourceControlnamedCatDS1.ThisDataSourceControlisboundtoaMicrosoftSQLServer2005table.TheprimarykeyofthetableistheCatNamecolumn.ThecodebelowiswrittenintheFormViewcontrol.(Thelinenumbersisincludedforreferencepurposes)
01
02Category:
0304
05DataSourceID='CatDS1'
06DataTextField='CatName'
07DataValueField='CatID'
08Runat='server'/>
09
10
YouhavetomakesurethatanymodificationsmadetotheCatIDfieldiswrittentothedatabase.Youshouldthereforeidentifythecodesegmentthathastobeaddedinline04.
Whatshouldyouidentify?()

A.comhashiredyouasaWebApplicationDeveloperfortheirnetwork.ThepreviousadministratorcreatedaMicrosoftASP.NETapplicationusingMicrosoft.NETFrameworkv3.5.
B.ThisDataSourceControlisboundtoaMicrosoftSQLServer2005table.TheprimarykeyofthetableistheCatNamecolumn.ThecodebelowiswrittenintheFormViewcontrol.(Thelinenumbersisincludedforreferencepurposes)
C.Youshouldthereforeidentifythecodesegmentthathastobeaddedinline04.
题目列表

你可能感兴趣的试题

微信扫码免费搜题