Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Making a dataset available in the designer
Message
 
To
11/10/2003 14:39:39
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00837820
Message ID:
00838253
Views:
24
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform