title: SqlBulkCopy and ProgressBar in ASP.Net
body: <p>Actually, I am importing <code>Excel</code> file and saving records to <code>DB</code> through <code>SqlBulkCopy</code>
  and everything goes fine.
  Now,I need to show a <code>ProgressBar</code> while saving data through <code>SqlBulkCopy</code>.</p>
  
  <p>My Code is :</p>
  
  <pre><code>SBC.WriteToServer(dsExcel);
  SBC.SqlRowsCopied += new SqlRowsCopiedEventHandler(OnSqlRowsCopied);
  SBC.NotifyAfter = 1;
  </code></pre>
  
  <p>and in the <code>SqlRowsCopied</code> event :</p>
  
  <pre><code>private static void OnSqlRowsCopied(object sender, SqlRowsCopiedEventArgs e)
  {
  //here i tried calling my progressbar. But I'm unable to call it.                   
  }  
  </code></pre>