<asp:TemplateField HeaderText="Quantity" ItemStyle-Width="12%"> <ItemTemplate> <asp:TextBox ID="TxtQty" runat="server" Text='<%# Eval("p_quantity") %>' Width="39px" ></asp:TextBox> <asp:LinkButton ID="LnkView" runat="server" CommandName="Update" CssClass="new28">Update</asp:LinkButton> </ItemTemplate> <HeaderStyle HorizontalAlign="Left" /> </asp:TemplateField>
protected void GridView1_RowCommand1(object sender, GridViewCommandEventArgs e) { if (e.CommandName == "Update")
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)