I tried using @"tml.[TYPE_CHR]", which throws an error saying "Cannot locate
column tml.TYPE_CHR". Its getting rid of the [] while trying to look for the
column for some reason.
I could access teh underlying dataset column and change the column name if
none of this works, but i was hoping to avoid that.
Thanks for the help
Aniket
"Frank Oquendo" <fr*******@acadx.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
Aniket Sule wrote: 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 ??
If you have access to the database, I'd recommend changing the field
name. Otherwise, have you tried @"tml.[TYPE_CHAR]"?
--
There are 10 kinds of people. Those who understand binary and those who
don't.
http://code.acadx.com
(Pull the pin to reply)