Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem accessing custom property
Message
De
12/04/2004 22:35:11
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
 
 
À
12/04/2004 22:14:37
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00894295
Message ID:
00894298
Vues:
10
This message has been marked as the solution to the initial question of the thread.
Hi, Kevin-

*snipped*
>   private static string _DataSource;
*snipped*
>When I drop 'ccTextBox' on any form, I see the new property 'DataSource' in the property sheet. Problem is that when I specify a data source for any one textbox, ALL the textbox controls wind up containing the same datasource name!
>
>So if I specify 'firstname' on the first textbox, all 10 controls wind up having 'Firstname' as the datasource property.
>
>Thinking that maybe because I had used a keyword as a prop name, I changed the property name to something else, but to no avail.
>
>What am I missing?

I think just the fact that you're using a static.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform