1
Answer

How to access the CommandField in Gridview from code behind?

Hi All,

I have a commandfield in Gridview Like this:
<asp:CommandField  HeaderText="Edit" ControlStyle-Font-Underline="false"
                                        ControlStyle-CssClass="TextBoxStyle" ShowEditButton="True" >
                                      <ControlStyle CssClass="TextBoxStyle" Font-Underline="False" />
                                    </asp:CommandField>

How can i access this commandfield as i want to make it invisible for a certain event

Answers (1)