Code:
for(i=0;i<1000;i++)
{
                progressBar1.Increment(1);
                label2.Text = i.ToString()+ " record processed";

 }
Why is it that some controls (i.e, :label2.text or textboxes ) do not get updated in the loop apart from the progressBar ?