
Displaying Data with the DataList and Repeater Controls:
Step 2-Displaying Product Information with the DataList
This step of the VIDEO TUTORIAL will demonstrate on adding a DataList control to the Basics.aspx page of the DataListRepeaterBasics folder of our project. Similar to the FormView, the DataList control also displays data in template fields rather than the bound fields. This is examined by configuring the DataList to a newly created ObjectDataSource control. In turn, the ObjectDataSource control is configured to retrieve product information from the ProductsBLL business object by binding the GetProducts () method. The resulting declarative markup is examined in the source of Basics.aspx web page and is further and the mark up within the ItemTemplate tags is further customized to display the a subset of Product information using html tags such as ‘h4’ and ‘table’ tags. Finally, the Basics.aspx web page is examined at run time to demonstrate the newly customized data display of Product information using the DataList control. For detailed information and source code for this step, please refer to the original article.
This video presentation is available ONLY for REGISTERED users of this web site due to significant costs associated with data transfer of multimedia content. Please register to view this video. Registration is FREE of charge and takes less than a minute to complete. Thanks for your consideration.
---Administrator