<asp:GridView ID="GridView1" runat="server" ShowHeader="False" Width="577px" EmptyDataText="There is Nothing in your Gridview" AutoGenerateColumns="False" BackColor="White" BorderColor="White" BorderStyle="Ridge" BorderWidth="2px" CellPadding="5" CellSpacing="1" GridLines="None" OnRowCommand="GridView1_RowCommand" DataKeyNames="ProductId" onselectedindexchanging="GridView1_SelectedIndexChanging"> <rowstyle backcolor="#DEDFDE" forecolor="Black" cssclass="gg" /> <columns> <asp:BoundField DataField="ProductName" SortExpression="ProductName" /> <asp:BoundField DataField="ProductLogDesc" SortExpression="ProductLogDesc" /> <asp:BoundField DataField="ProductCost" SortExpression="ProductCost" /> <asp:TemplateField> <itemtemplate> <asp:TextBox ID="txtQuantity" Columns="5" Text='<%# Eval("Quantity") %>' runat="server"> <asp:LinkButton runat="server" ID="btnRemove" Text="Remove" CommandName="Remove" CommandArgument='<%# Eval("ProductId") %>' Style="font-size: 12px;"> </itemtemplate> </columns> <footerstyle backcolor="#C6C3C6" forecolor="Black" /> <pagerstyle backcolor="#C6C3C6" forecolor="Black" horizontalalign="Right" /> <SelectedRowStyle BackColor="#9471DE" Font-Bold="True" ForeColor="White" /> <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#E7E7FF" />
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)