J
JP2006
I'm having an issue with a control I'm writing to consume RSS feeds. It
gets a feed via a querystring parameter and sticks it in a dataset. I
then use the dataset to write out the feed title and description then
specifiy a specific table within the dataset (the one with the actual
items) to bind to a repeater control.
The problem is that not all feeds seems to start the item table at the
same level; I specifiy a table within the dataset to bind to the
repeater - this table should be the one that contains the feed items
but it seems that this is not always the case.
I can use a switch statement to determine which table to bind to based
on the count of tables in the dataset but this number does not always
seem to correspond correctly.
Any ideas on how I should approach this.?
gets a feed via a querystring parameter and sticks it in a dataset. I
then use the dataset to write out the feed title and description then
specifiy a specific table within the dataset (the one with the actual
items) to bind to a repeater control.
The problem is that not all feeds seems to start the item table at the
same level; I specifiy a table within the dataset to bind to the
repeater - this table should be the one that contains the feed items
but it seems that this is not always the case.
I can use a switch statement to determine which table to bind to based
on the count of tables in the dataset but this number does not always
seem to correspond correctly.
Any ideas on how I should approach this.?