Which FormView property should you set in the code-behind file?

You are developing an ASP.NET Web page.
The page includes a List<Product> 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?

You are developing an ASP.NET Web page.
The page includes a List<Product> 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



Leave a Reply 0

Your email address will not be published. Required fields are marked *