GridView e XmlDataSource (ASP.NET 2.0)

giovedì 05 gennaio 2006 - 11.20

D79 Profilo | Junior Member

ok. ho installato da poco vs2005 e già cominciano i problemi...
ho un semplice file xml così:

<?xml version="1.0" encoding="UTF-8"?>
<ALBUM>
<FOTO>
<DESCRIZIONE as="dd">descr1</DESCRIZIONE>
<FILE>file.jpg</FILE>
<FILEP>filep.jpg</FILEP>
</FOTO>
</ALBUM>

ho un gridview e un xmldatasource
all'xmldatasource ho dato come DataFile il file xml e al gridview ho dato come GridViewId l' xmldatasource

purtroppo però ho questo errore:
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.

qualche idea?


Partecipa anche tu! Registrati!
Hai bisogno di aiuto ?
Perchè non ti registri subito?

Dopo esserti registrato potrai chiedere
aiuto sul nostro Forum oppure aiutare gli altri

Consulta le Stanze disponibili.

Registrati ora !
Copyright © dotNetHell.it 2002-2024
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5