Forums

Developers

There is currently 1 person viewing this thread.
NickyG
27 Dec 17 14:39
Joined:
Date Joined: 26 Dec 08
| Topic/replies: 6 | Blogger: NickyG's blog
Hi, I'm using the sample code (VB.NET) to try and load markets from GB and Ireland, but I can only do one at a time, I'm sure I'm making a basic error but not sure what it is:

This works:
      marketFilter.MarketCountries = New HashSet(Of String)() From {"GB"}

But if try and and Irish races it still only loads the GB races:
      marketFilter.MarketCountries = New HashSet(Of String)() From {"GB", "IRE"}

Any help appreciated.

Post your reply

Text Format: Table: Smilies:
Forum does not support HTML
Insert Photo
Cancel
sort by:
Show
per page
Replies: 2
By:
Grantay.
When: 28 Dec 17 14:16
Add each country you want to include like this:

marketFilter.MarketCountries = New HashSet(Of String)

marketFilter.MarketCountries.Add("GB")
marketFilter.MarketCountries.Add("IRE")
By:
jabe
When: 30 Dec 17 22:06
The code for Ireland is "IE".
sort by:
Show
per page

Post your reply

Text Format: Table: Smilies:
Forum does not support HTML
Insert Photo
Cancel
‹ back to topics
www.betfair.com