Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Looking for advice on how to search for a holiday
Message
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01336267
Message ID:
01336875
Vues:
25
Viv,

Thanks for the tip - I like this idea. Of course, it's a different story as to whether or not my implementation of it will work, but I'll certainly give it a go.

Jon


>How about Linq. Something like:
>            List<string> CountryCodes = new List<string>();
>
>            //Some way of populating with countries of interest:
>            CountryCodes.Add("US");
>            CountryCodes.Add("UK");
>
>            var a = from s in DataContext.HolidayDates
>                    where CountryCodes.Contains(s.CountryCode)
>                        select s;
>
Jon Rosenbaum
Devcon Drummer
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform