Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Design Question
Message
General information
Forum:
ASP.NET
Category:
Class design
Title:
Miscellaneous
Thread ID:
01388152
Message ID:
01388192
Views:
43
I don't think you should use a DataTable for this. Have you looked at a collection?

>The user can open any of a number of 'panes', which represent data, for example the Invoice Pane shows invoices, the Customer Pane shows customers.
>
>This list of panes is fixed. I have records in a Panes table which has the caption, a key, an icon, and the name of the pane class.
>I also have a table called UserPanes where I track what panes any given user has open.
>
>1) If I get all user pane records into a dataset, when I loop through them, how can I associate the string key with an enum?
>2) How do I add an instance of a class to a form using the name of a class in a string?
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Reply
Map
View

Click here to load this message in the networking platform