>I had the assumption that there could be a way in the designer that it would recognize the entire DataSet structure so I wouldn't have to define it manually.
>
>The only way I could make it work until now is simply to use the DataGrid control. When using that, I soon as I call DataBind() method, the data is being displayed in the grid. When I tried with DataList and Repeater controls, I always obtained a blank area in the place of the container. I guess those two requires more setup.
---
Michel, You can create a typed DataSet in the Project that will match the structure of the XML coming from the WebService, and add it to the Web Form. For both, the Repeater control it has no pre-defined the template, so if you don't create a template the repeater has no way of knowing how to display itself. I "think" the DataList does have a default display, but I'm not positive, I've also defined templates in the ASPX, and used it that way.
I hope that helps.
Morgan
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement