CommandArgument in GridView


I am trying to assign two values to CommandArgument in a GridView. Is it possible?

this is what I have, but once I have a static value inside, the entire field turns into static.  thanks

                   <asp:TemplateField HeaderText="Call"  SortExpression="Call" HeaderStyle-Width="50px" >                       
                            <asp:LinkButton CommandArgument='<%# Eval("Assigned") %>***Call' CommandName="Call" runat="server" Visible="true"><%# Eval("Call") %></asp:LinkButton>

Open in new window

Who is Participating?
Ryan ChongConnect With a Mentor Commented:
try this instead:

<asp:LinkButton CommandArgument='<%# Eval("Assigned")+"***Call" %>' CommandName="Call" runat="server" Visible="true"><%# Eval("Call") %></asp:LinkButton>
mcrmgAuthor Commented:
any ideas? thanks
mcrmgAuthor Commented:
thank you very much
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.