How to set CommandArgument of LinkButton in GridView?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lax4u
    New Member
    • Mar 2008
    • 2

    How to set CommandArgument of LinkButton in GridView?

    I have a gridview with <EmptyDataTempl ate>.
    <EmptyDataTempl ate>
    <asp:LinkButt on ID="InsertSecti onLink" runat="Server" CausesValidatio n="True" CommandName="Em ptyDataTemplate Insert">Insert New Secition</asp:LinkButton>
    <asp:TextBox ID="txtDescript ion" runat="Server"> </asp:TextBox>
    </EmptyDataTempla te>

    How do i set the CommandArgument of "InsertSectionL ink" to txtDescription. Text
Working...