P
Patrice Lamarche
Hello Everyone!
I'm currently having trouble with a rowfilter where the name of the
column containt bracket.
Here the name of the column [Measures].[PointX]
when i sort the dataview it's ok no trouble
DataView dv = new DataView(dt);
dv.Sort = "[[Measures].[PointX]] ASC"; //it's ok working
But if I add the line it crash
dv.RowFilter = "[[Measures].[PointX]] = 0"; with the exception ..
An unhandled exception of type 'System.Data.SyntaxErrorException' occurred
in system.data.dll
Additional information: Cannot interpret token ']' at position 21.
Anyone know a workaround?
Thanks you
Best Regards,
Patrice Lamarche
I'm currently having trouble with a rowfilter where the name of the
column containt bracket.
Here the name of the column [Measures].[PointX]
when i sort the dataview it's ok no trouble
DataView dv = new DataView(dt);
dv.Sort = "[[Measures].[PointX]] ASC"; //it's ok working
But if I add the line it crash
dv.RowFilter = "[[Measures].[PointX]] = 0"; with the exception ..
An unhandled exception of type 'System.Data.SyntaxErrorException' occurred
in system.data.dll
Additional information: Cannot interpret token ']' at position 21.
Anyone know a workaround?
Thanks you
Best Regards,
Patrice Lamarche