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 7:59:00 PM 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 | |||
|
