title: How to use C# progress bar?
body: <p>I want to ask about how to use the c# 2010 progress bar ? . 
  I know the properties ( Max, Min and Value ) and also to increment the value. 
  But i don't know to use it while loading data from database for example. 
  Or how to use it by downloading a file from database.
  Or loading datagridview (e.g.with 1000 row), so it takes time, but i want to display a progress bar for it.</p>
  
  <p>How can i know the max value for these examples? i mean the concept of the use of progress bar.</p>