我想知道是否有任何可能的方式在DataView
上應用RowFilter
提供單字符匹配?匹配DataView RowFilter中的單個字符?
例如DataView.RowFilter =「喜歡‘A_BCD%’SOME_COL;
其中下劃線表示的Oracle SQL單字符匹配,並且%
是0或多個字符的通配符
顯然的RowFilter只支持通配符。 (* or %)
在匹配表達式的開頭或結尾,我唯一的想法是迭代遍歷行並刪除與正則表達式不匹配的行,但這不是理想的。
任何幫助或想法將不勝感激! 謝謝
這個偉大的工程!謝謝。 Linq真的很有用:) – russdot