[Mono-aspnet-list] Expression 'strBusinessObjectName Not Like '*:*'' is invalid.

Jan van der watt janvanderwatt at gmail.com
Tue Jul 28 02:18:15 EDT 2009


Hi,
I have a DataTable, with a String column "strBusinessObjectName". The rows
have already been read. I'm using the .NET DataTable Select() to perform
additional filtering, as per
http://msdn.microsoft.com/en-us/library/system.data.datacolumn.expression.aspx
.

I'm looking for the objects that do not have a colon ( : ) in their names.

Using this statement works on .NET, but gives the subject-line error on
MONO.

 ...  menu_object_table.Select("strBusinessObjectName Not Like '*:*'")  ...

Any clues what I'm doing wrong?

Here the line is expanded so you can see where there are single quotes and
where they are double (I checked, replacing the single quotes with doubles
does NOT work):

 ...  menu_object_table.Select(  >"< strBusinessObjectName Not Like >'<  *:*
 >'<  >"<)  ...

Thanks for any help!

Jan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-aspnet-list/attachments/20090728/bf844b87/attachment.html 


More information about the Mono-aspnet-list mailing list