Yes, data is binding to gridview and I can see the row count as 5(for example). After GridView1.DataBind(); I have added the following code
if(GridView1.Rows.Count>0) //Here rows count=5
{Page.Master.FindControl("LinkButtonExport").Visible = true;}
But it's not enabling the button. I have tried vice-versa too and it is not working and I'm not getting any errors. Is there any alternative approach.