title: Dividing values from two columns in a GridView
body: <p>I have a gridview displaying the quantity of a product and and their total price. I want to add another column which display the price of 1 item i.e. dividing the total price with the quantity. How can I do this please?</p>
  
  <pre><code>&lt;asp:GridView ID="grdDetails" runat="server" AutoGenerateColumns="False" 
                      onrowdatabound="grdDetails_RowDataBound" BorderColor="White"&gt;
                      &lt;Columns&gt;
                          &lt;asp:BoundField DataField="OrderDetailsId" HeaderText="Code" /&gt;
                          &lt;asp:BoundField DataField="ProductName" HeaderText="Description" /&gt;
                          &lt;asp:BoundField DataField="Quantity" HeaderText="Qty" /&gt;
                          &lt;asp:BoundField DataField="TotalPrice" HeaderText="Price" /&gt;                                                        
                      &lt;/Columns&gt;
                  &lt;/asp:GridView&gt;
  </code></pre>
  
  <p>Thanks for your help</p>