There are 1094 records in the input file, while transforming all records are not displaying at once in DataGridView2.
It is due to If statement, if I comment out the If statement , the application runs as desired.
if (int.Parse(this.dataGridView2.Rows[i].Cells[1].Value.ToString())>= 100000 || int.Parse(this.dataGridView2.Rows[i].Cells[1].Value.ToString())<= 200000)
{
this.dataGridView2.Rows[i].Cells[12].Value ="I";
}
else
{
this.dataGridView2.Rows[i].Cells[12].Value ="A";