Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我尝试按情况订购时遇到过滤问题
编码如下
dt.Select("1=1 ", "CASE WHEN ParcaKodu LIKE '%8200436025%' THEN 1 ELSE 2 END ")
您不能使用该CASE构造来过滤 C# 中的记录。您可以使用的语法元素数量有限。
CASE