</<asp:Panel ID="pnlAppForm" runat="server" Visible="false"> <asp:FormView ID="ApplicationFormView" runat="server" DataSourceID="App1DataSource" DataKeyNames="ApplicationID" DefaultMode="Insert" oniteminserted="ApplicationFormView_ItemInserted" oniteminserting="ApplicationFormView_ItemInserting"> <EditItemTemplate> </EditItemTemplate> <InsertItemTemplate> <h2>Sample Application</h2> <table class="appTable"> <tr> <td>First Value</td> <td><asp:DynamicControl ID="FirstValueDynamicControl" runat="server" DataField="Length" Mode="Insert" ValidationGroup="Insert" /></td> </tr> <tr> <td>Second Value</td> <td> <asp:DynamicControl ID="SecondValueDynamicControl" runat="server" DataField="Breath" Mode="Insert" ValidationGroup="Insert" /></td> </tr> <tr> <td>Third Value</td> <td> <asp:DynamicControl ID="ThirdValueDynamicControl" runat="server" DataField="Total" Mode="Insert" ValidationGroup="Insert" /></td> </tr> </table> <asp:Button ID="InsertButton" runat="server" CausesValidation="true" CommandName="Insert" Text="Submit" CssClass="submitbutton" ValidationGroup="Insert" TabIndex="27" /> </InsertItemTemplate> <ItemTemplate> </ItemTemplate> </asp:FormView> </asp:Panel><pre lang="text">
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)