protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
Button btn_hide= (Button)e.Row.FindControl("btnedit");
//btn_edit is id Of the Button which you want to hide in GridView
//this your control which you want to Get.. like button,label.. anything you want
btn_hide.visible=false
}