I am finding the switch to Visual Studio 2005 from 2003 a bit of a problem
at times. My latest problem is that when I add an XMLDatasource to an aspx
page and set its datafile to an xml file (with or without accompanying XSD
file), then add a gridview control to the page and set its datasource to the
XMLDatasource, I receive the following error:
The data source for GridView with id 'GridView1' did not have any properties
or attributes from which to generate columns. Ensure that your data source
has content.
My XML file has content. Makes we want to return to reading XML files into
a dataset, then using the dataset or an associated dataview as a datasource.
What could be the problem?