Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Coordinating Objects
Message
De
27/08/2007 06:47:59
 
 
À
26/08/2007 15:40:06
Information générale
Forum:
ASP.NET
Catégorie:
Conception classe
Divers
Thread ID:
01250452
Message ID:
01250602
Vues:
14
Hi,
Am I missing something. I thought you could use any object as a data source. Doesn't this, given for example two textboxes, bind their Text properties together.
        BindingSource bs = new BindingSource();
        bs.DataSource = textBox1;
        textBox2.DataBindings.Add("Text", bs, "Text");
Regards,
Viv

>Well, no, you can't databind 2 controls together in the classic sense of the meaning of databind.>

>>Is it possible to bind a control to something other than a dataset? For instance could 2 controls be bound together?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform