尝试构建解决方案时,我收到警告,属性必须用引号引起来。如何将 CommandArgument 属性括在引号中?
<asp:LinkButton Runat="server" ID="lkAcknowledge" Visible="false" CommandName="Acknowledge" CommandArgument=<%# DataBinder.Eval(Container.DataItem, "AssignmentID")%> >Acknowledge</asp:LinkButton>