Another little bug ;):
on the GetUrl():
protected override string GetUrl()
{
if (mSector.HasValue)
{
return "http://biz.yahoo.com/p/csv/" + (mSector.Value + 1).ToString() + FinanceHelper.MarketQuotesRankingTypeString(this.RankedBy) + FinanceHelper.MarketQuotesRankingDirectionString(this.RankDirection) + ".csv";
}
....
should be changed in:
protected override string GetUrl()
{
if (mSector.HasValue)
{
return "http://biz.yahoo.com/p/csv/" + ((int)mSector.Value).ToString() + FinanceHelper.MarketQuotesRankingTypeString(this.RankedBy) + FinanceHelper.MarketQuotesRankingDirectionString(this.RankDirection) + ".csv";
}
....
The sector has to be an integer, and you do not need to add 1.
Regards /// Angel
Original issue reported on code.google.com by i...@advancedcomputing.ch on 22 Mar 2012 at 12:06
Original issue reported on code.google.com by
i...@advancedcomputing.ch
on 22 Mar 2012 at 12:06Attachments: