John Baird
Coatesville, Pennsylvanie, États-Unis
Versions des environnements
Network:
Windows 2003 Server
>>case is alwarys sensitive in c# unless you use toUpper and ToLower....
>> We also have StartsWith, Contains, and any extension methods we wish to write.....all of which can be used in linq. I have a whole library of string extension methods that do all kinds of things from removing character sequences, to find and delete, to reverse, etc. all of which can be used in linq.
>
>So, in VB.NET, if I wish the where clause to go exact with an equal sign to a Char(10) field, will the equal sign be suffisant? Or, do I need to adapt the where clause syntax for something else?
I don't use VB.net ... I don't know if comparisons are ansi compliant or not... but it would be easy to create a list of strings... and use linq to query the list to make sure that the where clause you use are returning unique results..
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement