We help IT Professionals succeed at work.
Get Started

Problem to Link button

Last Modified: 2015-07-28
There is Link button below, to the GV
        <asp:GridView ID="gvResult" runat="server" 
            CellPadding="4" ForeColor="#333333" Font-Size="12px" 
            AutoGenerateColumns="False" PageSize="20" 
            style="margin-top: 1px" AllowPaging="True" 
            OnRowDataBound="gvResult_RowDataBound" onrowcommand="gvResult_RowCommand">
            <PagerSettings Mode="NumericFirstLast" />
            <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                <asp:TemplateField ShowHeader="False">
                        <asp:LinkButton ID="lbEdit" runat="server" CausesValidation="False" 
                            CommandName="RowEdit" Text="更改資料" CommandArgument='<%# Eval("Id") %>'></asp:LinkButton>
                        <asp:LinkButton ID="lbEdit2" runat="server" CausesValidation="False" 
                            CommandName="RowEdit2" Text="更改資料" CommandArgument='<%# Eval("Id") %>'></asp:LinkButton>

Open in new window

when running the page, the Link button is not shown. But I cannot find out any codes, which are hiding such Link button. Why?
Watch Question
Distinguished Expert 2020
This problem has been solved!
Unlock 1 Answer and 12 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE