Until now, our BLD Explorer application has been using DataBound controls that automatically
determine the list of DataFields and apply a standardized layout. In this phase, we
will show several ways to take control over what is shown and how it is formatted.
It all starts with the BLDDataField and BLDLabel controls...
<des:BLDFormView ID="BLDFormView1" runat="server"
DataSourceID="DataSource1" DataKeyNames="ProductID" AllowPaging="True"
AutoGenerateButtons="None" AutoScaffold="No" >
<ItemTemplate>
<table class="DetailsViewContainer">
<tr class="DetailsViewDataFieldRow">
<td class="DetailsViewLabelContainer">
<des:BLDLabel ID="BLDLabel1" runat="server" AssociatedControlID="ProductNameLabel" />
</td>
<td class="DetailsViewDataContainer">
<des:BLDDataField ID="ProductNameLabel" runat="server" DataField="ProductName" />
</td>
</tr>
</table>
</ItemTemplate>
</des:BLDFormView>