How to Multiply two columns on a gridview and display it in the third?
<p>How would I multiply 2 columns and display it in the third column? I want to multiply Price and the input value of quantity and display it in <code>lblItemTotal</code>. I was thinking about adding a update button so that all the item totals could get updated when clicked. Here's my gridview code:</p>

<pre><code>&lt;asp:TemplateField HeaderText="Price"&gt;
    &lt;ItemTemplate&gt;
        &lt;asp:Label ID="lblPrice" runat="server" Text='&lt;%# Bind("Price")%&gt;'&gt;&lt;/asp:Label&gt;
    &lt;/ItemTemplate&gt;
&lt;/asp:TemplateField&gt;
&lt;asp:TemplateField HeaderText="Quantity"&gt;
    &lt;ItemTemplate&gt;
        &lt;asp:TextBox ID="txtQuantity" runat="server"&gt;&lt;/asp:TextBox&gt;
    &lt;/ItemTemplate&gt;
&lt;/asp:TemplateField&gt;
&lt;asp:TemplateField HeaderText="Item Total"&gt;
    &lt;ItemTemplate&gt;
        &lt;asp:Label ID="lblItemTotal" runat="server" &gt;&lt;/asp:Label&gt;
    &lt;/ItemTemplate&gt;
&lt;/asp:TemplateField&gt;
</code></pre>