Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - Re: ASP.NET 2- Can't read data in XML file >Thread Next - Re: ASP.NET 2- Can't read data in XML file Re: ASP.NET 2- Can't read data in XML fileTo: NULL Date: 4/2/2006 4:03:00 PM Not much help. Thanks I've seen many complaints about the exact some thing I'm seeing. It appears that the XML file has to have attributes or it wont work using the VWD and using Xmldatasource and Gridview objects. I'd say it's bug, I'd find it hard to believe that this is by design. "Martin Honnen" <mahotrash@y...> wrote in message news:ukzRw8nVGHA.4792@T...... > > > noone wrote: > > >> < asp : XmlDataSource ID ="XmlDataSource1" runat ="server" DataFile >> ="~/App_Data/webstats.xml" >> >> XPath ="webstats/app"></ asp : XmlDataSource > >> >> < asp : GridView ID ="GridView1" runat ="server" CellPadding ="4" >> DataSourceID ="XmlDataSource1" > > I don't have time now to look at what GridView needs to render an > XmlDataSource, here > <http://www.asp.net/QuickStart/aspnet/doc/ctrlref/data/xmldatasource.aspx> > is a sample for a DataList, maybe you can use that. > > > -- > > Martin Honnen --- MVP XML > http://JavaScript.FAQTs.com/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
