Please help i want to get the subtotal of qty to be displayed every time i enter an item
Item Code |
Item Description |
itemsize: |
Qty |
0262 |
Stockings |
S6-7 |
2 |
0140 |
Belt |
|
1 |
0238 |
P5 Lemon Green T.Shirts Yellow |
S12 |
1 |
0001 |
P1-P7 Grey shorts |
L |
2 |
0136 |
Sweaters |
S34 |
1 |
0251 |
P5 Lemon Green Shirts |
M |
2 |
0072 |
PE Shorts |
L |
1 |
<table class="auto-style1">
<tr class="newStyle5">
<td class="auto-style2">Date</td>
<td class="auto-style23">
<asp:TextBox ID="Datesr" runat="server" Width="65px"></asp:TextBox>
</td>
<td class="auto-style9">Invno</td>
<td class="auto-style14">
<asp:TextBox ID="Invno" runat="server" Width="38px"></asp:TextBox>
</td>
<td class="auto-style4">Attendant:</td>
<td class="auto-style16" colspan="2">
<asp:TextBox ID="Usernames" runat="server" Width="99px"></asp:TextBox>
</td>
<td class="auto-style16">Account<asp:TextBox ID="Account" runat="server" ondblclick="" Style="margin-left: 11px" Width="177px"></asp:TextBox>
</td>
</tr>
<tr class="newStyle5">
<td class="auto-style2">Name</td>
<td class="auto-style23">
<asp:TextBox ID="StudentNames" runat="server" CssClass="auto-style7" Width="222px"></asp:TextBox>
</td>
<td class="auto-style11">
<asp:Button ID="Button1" runat="server" Text="Search Student" Width="99px" />
</td>
<td class="auto-style14">Class</td>
<td class="auto-style4">
<asp:TextBox ID="Classr" runat="server" Width="36px"></asp:TextBox>
</td>
<td class="auto-style21">Stream</td>
<td class="auto-style21">
<asp:TextBox ID="Streamr" runat="server" Width="36px"></asp:TextBox>
</td>
<td class="auto-style16">Student Type<asp:TextBox ID="StudentType" runat="server" Width="36px"></asp:TextBox>
Colour :<asp:TextBox ID="Colour" runat="server" Width="61px"></asp:TextBox>
</td>
</tr>
<tr class="newStyle3">
<td colspan="8">
<asp:GridView ID="Gvgridclient" runat="server" AutoGenerateColumns="False">
<Columns>
<asp:BoundField DataField="itemcode" HeaderText="Itemcode" />
<asp:BoundField DataField="stockitem" HeaderText="Item Description" />
<asp:BoundField DataField="itemsize" HeaderText="itemsize" />
<asp:BoundField DataField="Qty" HeaderText="Qty" />
<asp:BoundField DataField="saleprice" HeaderText="OrderPrice" />
<asp:BoundField DataField="saleprice" HeaderText="SalePrice" />
<asp:BoundField HeaderText="Subtotal" />
</Columns>
</asp:GridView>
</td>
</tr>
</table>