title: Get the total column value of list view in c#
body: <p>I need to get the total of the item prices(which are in the same column in a list view in C#) without selecting the label called lblTotal.The item prices come from the databases and need to get the sum of them within the application itself. Can you please help me and send your ideas.</p>
  
  <p>I have build this using WinForms and I have designed the following code</p>
  
  <p>float lblTotal = 0F;<br>
              for (int i = 0; i &lt; orderList.Items.Count; i++)
              {
                  if (orderList.Items[i].Selected)
                  {
                    lblTotal = float.Parse(orderList.Items[i].SubItems[1].Text);
                  }
              }</p>
  
  <p>However this is not working for my application.
  Thank you</p>