Hi everyone, I am developing a C# based ASP.NET web application. I have a section of code that initializes a DatavIew that is filtered on some values. It works fine till it encounters a string that hs a % sign in it. It throws an exception saying the string
is not valid. For example, something like: DataView view = new DataView (someTable, "SomeColumn LIKE 'Heck 100% Ueberdeckung'", "", DataViewRowState.CurrentRows); throws an exception. Someone knows how I can fix this? Also, these strings are not static and
generated at run time. I would really hate to parse it for the % string Would really appreciate some help. Sincerely, Xargon
xargon
Member
5 Points
1 Post
Problems with filtering a dataview
Feb 15, 2004 08:22 PM|LINK