Use row command event
protected void GridView1_RowCommand(object sender, GridViewCommandEventArgs e)
{
if (e.Row.Cells[2].Text == "Select")
e.Row.Visible = false;
}
Or
Use this
Gridview1.Rows.Item(i).Attributes.Add("style", "display:none")
Hope this will help you...