hi i have one gridview in that i have one boundfield and to labels.. i want to make link buttons of 1st row invisible so i used following code
 
 <ItemTemplate>
                <asp:LinkButton ID="Update" runat="server" CommandName="cmdid" CommandArgument="<%# ((GridViewRow) Container).RowIndex %>">Update </asp:LinkButton>  
                 <asp:LinkButton ID="lnkRemove" CommandName="cmdremove" CommandArgument="<%# ((GridViewRow) Container).RowIndex %>"  runat="server">Remove</asp:LinkButton>
                </ItemTemplate>
in code  behind
 
 LinkButton Updates = GridView1.Rows[0].Cells[1].FindControl("Update") as LinkButton;
            Updates.Visible = false;
            LinkButton rem = GridView1.Rows[0].Cells[2].FindControl("lnkRemove") as LinkButton;
            rem.Visible = false;
            GridView1.DataSource = dt.DefaultView;
            
            GridView1.DataBind();
but its not working.. wat should i do