Where can I find documentation for the syntax allowed in the filter used in
datatable.select("some filter")?
I want do something like this:
dim str as string = "men"
datatable.Select("colName Like "*" & var & "*")
which would allow data like
mentor
document
etc.
Thanks.

Signature
moondaddy@newsgroup.nospam
Scott M. - 15 Nov 2007 04:51 GMT
If you are using Visual Studio, just click somewhere in the word "select"
(you don't have to select the whole word, just click into it) and press F1.
That's the fastest way to learn about any .NET keyword, class, or class
memeber.
> Where can I find documentation for the syntax allowed in the filter used
> in datatable.select("some filter")?
[quoted text clipped - 12 lines]
>
> Thanks.
WenYuan Wang [MSFT] - 15 Nov 2007 08:41 GMT
Hello Moondaddy,
According to your description, you want to know what syntax is allowed in
DataTable.Select() method. If I misunderstood anything here, please correct
me.
FilterExpression argument uses the same rules that apply to the DataColumn
class's Expression property value for creating filters. Thus, I suggest you
may refer to the document for Datacolumn.Expression. You will find syntax
what are allowed in FilterExpression in there.
http://msdn2.microsoft.com/en-us/library/system.data.datacolumn.expression.a
spx
[DataColumn.Expression Property]
Hope this helps. Please feel free to update here again. If there is
anything unclear, we are glad to assist you.
Have a great day,
Best regards,
Wen Yuan
Microsoft Online Community Support
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
moondaddy - 15 Nov 2007 15:39 GMT
Thanks that was a good reference and I've added it to my bookmarks.
> Hello Moondaddy,
>
[quoted text clipped - 23 lines]
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
WenYuan Wang [MSFT] - 16 Nov 2007 05:39 GMT
Your are welcome. I'm glad to hear it's helpful.:)
Have a great day,
Best regards,
Wen Yuan
Microsoft Online Community Support
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.