Answer: DataSource property and DataBind() method is used to bind Repeater Control.As we know that Repeater Control also comes under DataBound control and DataSource property and DataBind() method is used for binding any object to databound controls.
For Example:-
rpt_project_details.DataSource = dt;
rpt_project_details.DataBind()
Here,dt is our DataTable object.
Asked In: Many Interviews |
Alert Moderator