Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Looking for advice on how to search for a holiday
Message
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
01336267
Message ID:
01336875
Views:
24
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
Previous
Reply
Map
View

Click here to load this message in the networking platform