F
Francis
Hello,
I recently decided to try and consume an rss feed and put it into a
datagrid, just to try it out. I used the following code:
DataSet dsXml = new DataSet();
XmlReader xmlTr = new
XmlTextReader("http://www.flickr.com/services/feeds/photos_public.gne?format=rss_200");
dsXml.ReadXml(xmlTr);
xmlTest.DataSource = dsXml.Tables[0];
xmlTest.DataBind();
However, i get the error: A column named 'title' already belongs to this
DataTable.
How would be the best way to get round this? I think it is because an
embedded xml column is called the same name.
Thank you
Francis
I recently decided to try and consume an rss feed and put it into a
datagrid, just to try it out. I used the following code:
DataSet dsXml = new DataSet();
XmlReader xmlTr = new
XmlTextReader("http://www.flickr.com/services/feeds/photos_public.gne?format=rss_200");
dsXml.ReadXml(xmlTr);
xmlTest.DataSource = dsXml.Tables[0];
xmlTest.DataBind();
However, i get the error: A column named 'title' already belongs to this
DataTable.
How would be the best way to get round this? I think it is because an
embedded xml column is called the same name.
Thank you
Francis