A
Aniket Sule
Hi,
I am trying to put a filter on a dataview. the column has [] in its name, it
is called - tml.[TYPE_CHAR]
i tried escaping the column name as per the MSDN help - [tml.[TYPE_CHR\]]
However i get a compilre error - "unrecognised escape sequence"
Can anyone point out what I'm doing wrong ??
Thanks
Aniket
the code is -
private const string TML_TYPE_COL = "[tml.[TYPE_CHR\]]";
string Filter = TML_TYPE_COL + " ='Active' ";
_dataView.RowFilter = Filter;
I am trying to put a filter on a dataview. the column has [] in its name, it
is called - tml.[TYPE_CHAR]
i tried escaping the column name as per the MSDN help - [tml.[TYPE_CHR\]]
However i get a compilre error - "unrecognised escape sequence"
Can anyone point out what I'm doing wrong ??
Thanks
Aniket
the code is -
private const string TML_TYPE_COL = "[tml.[TYPE_CHR\]]";
string Filter = TML_TYPE_COL + " ='Active' ";
_dataView.RowFilter = Filter;