求解
<asp:TemplateField SortExpression="f_FileName" HeaderText="File Name">
<itemtemplate>
<asp:LinkButton ID ="btnSelect" runat ="server" PostBackUrl ='../CAR/AttachmentGet.aspx' Text ='<%# Eval("f_FileName") %>'/>
<asp:HiddenField ID="AttachmentID" runat ="server" Value='<%# Eval("f_RowID")%>' />
</itemtemplate>
</asp:TemplateField>
这段代码我现在不想要对f_FileName进行排序了 应该怎么改?其他都不变
------解决方案--------------------
SortExpression="f_FileName" 这句去掉