<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional" > <ContentTemplate> <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" onrowcommand="GridView1_RowCommand" ShowFooter="True"> <Columns> <asp:TemplateField HeaderText="USER CODE"> <ItemTemplate> <asp:TextBox ID="txtusercode" runat="server" AutoPostBack="true" ontextchanged="txtusercode_TextChanged"></asp:TextBox> </ItemTemplate> </asp:TemplateField> <asp:TemplateField HeaderText="PAID DATE"> <ItemTemplate> <asp:TextBox ID="txtpaiddate" runat="server" AutoPostBack="true" ontextchanged="txtpaiddate_TextChanged"></asp:TextBox> </ItemTemplate> <FooterTemplate> <asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="Add New Row" /> </FooterTemplate> </asp:TemplateField> <asp:TemplateField HeaderText="TOTAL AMOUNT"> <ItemTemplate> <asp:TextBox ID="txttotamt" runat="server"></asp:TextBox> </ItemTemplate> <FooterTemplate> <asp:Button ID="btndeleterow" runat="server" onclick="btndeleterow_Click" Text="Delete Last Row" /> </FooterTemplate> </asp:TemplateField> <asp:TemplateField HeaderText="DELETE ROW"> <ItemTemplate> <asp:Button ID="BtndelCurrent" runat="server" CommandArgument="<%#((GridViewRow)Container).RowIndex %>" CommandName="DeleteRow" onclick="BtndelCurrent_Click" Text="Delete Row" /> </ItemTemplate> </asp:TemplateField> </Columns> </asp:GridView> </ContentTemplate> </asp:UpdatePanel>
<asp:scriptmanager id="ScriptManager1" runat="server"> </asp:scriptmanager> <asp:updatepanel id="up1" runat="server"> <contenttemplate> <!-- Your code here --> </contenttemplate> </asp:updatepanel>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)