单项选择题
You are developing an ASP.NET Web page. The page includes a List instance. You add a FormView control to display a single Product from this list. You need to bind the list to the FormView control. Which FormView property should you set in the code-behind file?()
A.DataSource
B.DataSourceID
C.DataKeyNames
D.DataMember
点击查看答案
相关考题
-
单项选择题
Gridview:Howtochangetheimageofanimagecontrolplaceineachrowinagridview:()
A.ItemDataBound
B.Init
C.Prerender
D.<something I don‟t remember> -
单项选择题
YouaredevelopinganASP.NETWebpage.Youaddadata-boundGridViewcontrol.TheGridViewcontainsaTemplateFieldthatincludesaDropDownList.YousettheGridViewsClientIDModepropertytoStatic,andyousettheClientIDRowSuffixpropertytoProductID.YouneedtobeabletoreferenceindividualDropDownListcontrolsfromclient-sidescriptbyusingtheProductID.WhatshouldyousettheClientIDModepropertyoftheDropDownListto?()
A.AutoID
B.Static
C.Inherit
D.Predictable -
单项选择题
YouaredevelopinganASP.NETWebpagethatwilldisplaythemedianvaluefromasequenceofintegervalues.Youneedtocreateanextensionmethodtocomputethemedianvalue.Whichinterfaceshouldyouaddtheextensionmethodto?()
A. IComparer<T>
B. IEnumerable<T>
C. IEnumerator<T>
D. IEqualityComparer<T>
