Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DataBinding question
Message
 
À
09/12/2005 10:21:28
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01076567
Message ID:
01076649
Vues:
17
Might it not just need to be scoped public? Isn't it protected by default?

HTH,
Chad

>Try making it a property (with get/set), then it might work (I haven't tried it though).
>
>~~Bonnie
>
>
>>Hello All, is it possible to bind a textbox's "Text" property to a field of a static class ? ( I hope I worded that correctly ? ) this is what I've tried but it fails at runtime with the error: "cannot create a child list...", any help much appreciated
>>
>>e.g.
>>
>>
>>class myclass
>>{
>>    static string mystring = "Pete";
>>}
>>
>>
>>// Then from a form somewhere
>>
>>this.txtMytextbox.DataBindings.Add("Text",myclass,"mystring");
>>
_________________________________
There are 2 types of people in the world:
    Those who need closure
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform