>>My dataset isn't bound to the database. I use datareaders and dataAdapters to manage that, so the dataset is not bound. I Created my dataset in my project with the designer which saves the dateset as a class. I can then declare a ds in my code as the type in my project and it is recognized by the designer.
>>
>>You do know what the data is going to look like comming from the XML result set right? Create a dataset that will be used to hold the data. Then use a reader to map the data into the dataset.
>>
>>I haven't used it, but understand that there are objects and methods for reading XML into a dataset.
>
>Yes, I know the structure of the XML result that is being returned. I control both ends.
>
>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.
Sorry, I don't know of another way.
Good luck,
~dab
Précédent
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