Why do you use double brackets?
Alsom you don't table name as dataview is view on one table...
--
Miha Markic [MVP C#]
RightHand .NET consulting & development
www.rthand.com
Blog:
http://cs.rthand.com/blogs/blog_with_righthand/
"Patrice Lamarche" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> 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
>