Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Properties on Custom Contols
Message
 
To
12/09/2002 17:22:08
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, United States
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00699968
Message ID:
00699972
Views:
16
Jim,

Yes you can add a property "As" a collection. I don't have any quick examples or articles to point you to but I have seen it in code (I just can't remember where). You first create a class that inherits from a collection class. Then you base your property on the custom class. The Get and Set of the property would access methods of your custom class to extract the data you want. Hopefully this helps.

>Cathi,
>
>Is it possible to add a property that is a collection ( say a SQL DataAdapter parameter collection) to a custom control? If so, how would it be done and what would the code be for the get and set functions for the controls? Is there an article on doing this somewhere?
-----------------------------------------

Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.com
www.prenia.com
Weblog: blogs.prenia.com/cathi
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform