Hi,
I guess there is a problem in your for loop.
for (int i = 0; i < dt.Rows.Count; i++)
{
dgvLoadProfile.Rows.Add(dt.Rows[i]["EDIS_Status"].ToString());
}
Here, you are looping through the datatable rows but not looping through the grid.
check if this works.
for (int i = 0; i < dt.Rows.Count; i++)
{
dgvLoadProfile.Rows[i].Add(dt.Rows[i]["EDIS_Status"].ToString());
}