Tag: platforms and products

Questions Related to platforms and products

  1. Set the DataSource property

  2. Call the DataBind method

  3. Both A) and B)

  4. None of the Above

Correct Option: C

To connect data from a data resource to a Repeater control, both options A) and B) must be done:

A) Set the DataSource property: This property is used to specify the source of data for the Repeater control. It can be set to a data source such as a database, XML file, or an object that implements the IEnumerable interface.

B) Call the DataBind method: This method is used to bind the data from the specified data source to the Repeater control. It populates the control with the data and displays it according to the defined layout.

Therefore, the correct answer is C) Both A) and B).

  1. Server-side code

  2. Client-side code

  3. Both A) and B)

  4. None of the above

Correct Option: A