找考题网-背景图
单项选择题

YouareimplementinganASP.NETpage.ThepageincludesamethodnamedGetCustomerOrderDataSetthatreturnsaDataSet.TheDataSetincludesaDataTablenamedCustomerDetailsTableandaDataTablenamedOrderDetailsTable.YouneedtodisplaythedatainOrderDetailsTableinaDetailsViewcontrolnameddtlView.Whichcodesegmentshouldyouuse?()
A.dtlView.DataSource=GetCustomerOrderDataSet();dtlView.DataMember="OrderDetailsTable";dtlView.DataBind();
B.dtlView.DataSource=GetCustomerOrderDataSet();dtlView.DataSourceID="OrderDetailsTable";dtlView.DataBind();
C.dtlView.DataSource=GetCustomerOrderDataSet();dtlView.DataKeyNames=newstring[]{"OrderDetailsTable"};dtlView.DataBind();
D.DataSetdataSet=GetCustomerOrderDataSet();dtlView.DataSource=newDataTable("dataSet","OrderDetailsTable");dtlView.DataBind();

A.NETpage.ThepageincludesamethodnamedGetCustomerOrderDataSetthatreturnsaDataSet.TheDataSetincludesaDataTablenamedCustomerDetailsTableandaDataTablenamedOrderDetailsTable.YouneedtodisplaythedatainOrderDetailsTableinaDetailsViewcontrolnameddtlView.Whichcodesegmentshouldyouuse?()
A.dtlView.DataSource=GetCustomerOrderDataSet();dtlView.DataMember="OrderDetailsTable";dtlView.DataBind();
B.dtlView.DataSource=GetCustomerOrderDataSet();dtlView.DataSourceID="OrderDetailsTable";dtlView.DataBind();
C.dtlView.DataSource=GetCustomerOrderDataSet();dtlView.DataKeyNames=newstring[]{"OrderDetailsTable"};dtlView.DataBind();
D.DataSetdataSet=GetCustomerOrderDataSet();dtlView.DataSource=newDataTable("dataSet","OrderDetailsTable");dtlView.DataBind();
热门试题

单项选择题YournetworkconsistsofasingleActiveDirectorydomain.AllserversrunWindowsServer2008R2.AllclientcomputersrunWindows7.UsersstorealloftheirfilesintheirDocumentsfolder.Manyusersstorelargefiles.YouplantoimplementroaminguserprofilesforallusersbyusingGroupPolicy.Youneedtorecommendasolutionthatminimizestheamountoftimeittakesuserstologonandlogoffofthecomputersthatusetheroaminguserprofiles.Whatshouldyourecommend?()A.ModifytheGroupPolicyobject(GPO)toincludefolderredirection.B.ModifytheGroupPolicyobject(GPO)toincludeBackgroundIntelligentTransferService(BITS)settings.C.Ontheserverthathoststheroaminguserprofiles,enablecachingontheprofilesshare.D.Onanyserver,installandconfiguretheBackgroundIntelligentTransferService(BITS)serverextensions.

A.AllserversrunWindowsServer2008R2.AllclientcomputersrunWindows7.UsersstorealloftheirfilesintheirDocumentsfolder.Manyusersstorelargefiles.YouplantoimplementroaminguserprofilesforallusersbyusingGroupPolicy.Youneedtorecommendasolutionthatminimizestheamountoftimeittakesuserstologonandlogoffofthecomputersthatusetheroaminguserprofiles.Whatshouldyourecommend?()
A.ModifytheGroupPolicyobject(GPO)toincludefolderredirection.
B.ModifytheGroupPolicyobject(GPO)toincludeBackgroundIntelligentTransferService(BITS)settings.
C.Ontheserverthathoststheroaminguserprofiles,enablecachingontheprofilesshare.
D.Onanyserver,installandconfiguretheBackgroundIntelligentTransferService(BITS)serverextensions.