Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Property Sheet TypeConverter
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00766204
Message ID:
00766205
Vues:
38
Hi Bill,

Can you provide some code for the DataSource property? Did you define the data type for the DataSource property to be Employee type?

>Hi Cathi,
>
>I was hoping you could help me with this or point me in the right direction. I have created a subclass of the TextBox control in order to add a DataSource and DataMember property. When I set the DataSource property to oEmployee in the property sheet it is written to the code as "oEmployee" (with quotes). I would like to have the object reference (without the quotes) rather than a string. I think I need to the a TypeConverter Attribute, but I'm having trouble getting it to work.
>
>thanks,
>bb
-----------------------------------------

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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform