我不知道如何插入对 GetConstraints 的调用 - 它设置了 where ... 下面的代码在<%=selec...
<asp:SqlDataSource ID="OrdersSqlDataSource" runat="server" ConnectionString="<%$ ConnectionStrings:ApplicationServices %>"
<%="SelectCommand=\"SELECT Id , IsResolved, Feedback, IsCanceled, RatingFromUser, SubmitionTime, IsPendingResponse, IsReceived, AllowAutomaticDIspatching FROM OrderSet"+GetConstraints() %>+"\"" >
</asp:SqlDataSource>
谢谢