protected void btnGo_Click(object sender, EventArgs e)
{
DataTable dt = GridView1.DataSource;
DataView dv = new DataView(dt, "TotalEmployees > 0", "Department", DataViewRowState.CurrentRows);
GridView2.DataSource = dv;
GridView2.DataBind();
}
Check this
I have updated it for proper understanding