
Using TemplateFields in the DetailsView Control:
Step 1: Binding the Data to the DetailsView
This VIDEO TUTORIAL will show case on how to use TemplateFields in the DetailsView web data control. The goal of this tutorial is to display UnitPrice, UnitsInStock and UnitsOnOrder fields as a one row in the DetailsView display. In addition, the discontinued field will be displayed as ‘YES’ or ‘NO’ labels instead of a check box control. In the Step1 of this tutorial a DetailsView control is added to the DetailsViewTemplateFields.aspx and an ObjectDataSource is configured to retrieve product information using GetProducts( ) method of ProductsBLL business object and eventually bound to the DetailsView control on the web page. Finally, the product information display is examined at runtime. 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