Getting unsupported dataSource type when binding to XML

4 replies. Last post: August 20, 2010 10:13 AM by Darren Budd
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
Darren BuddMember

Hi, Im getting this error when binding grid to XML as follows:

 

XmlDataSource objXmlDataSource = new XmlDataSource();

objXmlDataSource.Data = _xmlActions.OuterXml;

objXmlDataSource.XPath = "actions/action";

e.DataSource = objXmlDataSource;

 

Is there something obvious I am doing wrong here?

 

thanks

Darren

"actions/action";

e.DataSource = objXmlDataSource;

 

Is there something obvious I am doing wrong here?

 

thanks

Darren

All times are GMT -5. The time now is 7:13 PM.
Previous Next