单项选择题
A. dtlView.DataSource = GetCustomerOrderDataSet(); dtlView.DataMember = "OrderDetailsTable"; dtlView.DataBind();
B.dtlView.DataSource = GetCustomerOrderDataSet(); dtlView.DataSourceID = "OrderDetailsTable"; dtlView.DataBind();
C.dtlView.DataSource = GetCustomerOrderDataSet(); dtlView.DataKeyNames = new string [] { "OrderDetailsTable"}; dtlView.DataBind();
D.DataSet dataSet = GetCustomerOrderDataSet(); dtlView.DataSource = new DataTable("dataSet", "OrderDetailsTable"); dtlView.DataBind();
单项选择题 YoudeployanASP.NETapplicationtoanIISserver.Youneedtologhealth-monitoringeventswithseverityleveloferrortotheWindowsapplicationeventlog.Whatshouldyoudo?()
多项选择题 YoucreateaVisualStudio2010solutionthatincludesaWCFserviceprojectandanASP.NETproject.TheserviceincludesamethodnamedGetPeoplethattakesnoargumentsandreturnsanarrayofPersonobjects.TheASP.NETapplicationusesaproxyclasstoaccesstheservice.YouusetheAddServiceReferencewizardtogeneratetheclass.Afteryoucreatetheproxy,youmovetheserviceendpointtoadifferentport.Youneedtoconfiguretheclienttousethenewserviceaddress.Inaddition,youmustchangetheimplementationsothatcallstotheclientproxywillreturnaListinsteadofanarray.Whichtwoactionsshouldyouperform?()
单项选择题 YouareimplementinganASP.NETWebsite.Thesiteusesacomponentthatmustbedynamicallyconfiguredbeforeitcanbeusedwithinsitepages.YoucreateastaticmethodnamedSiteHelper.Configurethatconfiguresthecomponent.YouneedtoaddacodesegmenttotheGlobal.asaxfilethatinvokestheSiteHelper.Configuremethodthefirsttime,andonlythefirsttime,thatanypageinthesiteisrequested.Whichcodesegmentshouldyouuse?()