I have this code in .aspx page
<gridview .....
<columns>
............
...........
<asp:templatefield Visible="true" headertext="Title" >
<edititemtemplate>
<asp:checkbox id="chkTitle" runat="server" />
</edititemtemplate>
</asp:templatefield>
<asp:commandfield buttontype="Link" edittext="Edit" showeditbutton="true"/>
</columns>
</gridview>
i only want to show the column when the user clicks on Edit button to edit the row.
In your GV Data Bound Event Handler (not row data bound):
Source