【发布时间】:2011-09-20 03:00:05
【问题描述】:
有没有人有一种方便的现成方法来转义通配符,字符串中的无效字符被分配给RowFilter 用于C# 中的DataView。规则有点像下面
If a column name contains any of these special characters ~ ( ) # \ / = > < + - * % & | ^ ' "
[ ], you must enclose the column name within square brackets [ ]. If a column name contains
right bracket ] or backslash \, escape it with backslash (\] or \\).
谢谢:)
【问题讨论】:
标签: c# asp.net sql datatable dataview