When I fill a DataGridView row by row (calling it\'s add function), the top row gets blue colored. It\'s not selected because I tried ClearSelection() also but it didnt work
To achieve this along with the ClearSelection you will need to set one more property
Try this in the DataBindingComplete
dataGridView1.ClearSelection();
dataGridView1.CurrentCell = null;
EDIT
Based on your comments you can modify the code as
if (e.KeyCode == Keys.Up && dataGridView1.CurrentCell.RowIndex == 0)
{
this.ActiveControl = textBoxPartySearch;
dataGridView1.Refresh();
dataGridView1.ClearSelection();
dataGridView1.CurrentCell = null;
e.Handled = true;
}