Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Two-way databinding in ASP.NET 1.x
Message
De
19/06/2004 18:41:00
 
 
À
19/06/2004 18:33:41
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00915381
Message ID:
00915405
Vues:
11
(slaps head) The irony is that I wrote something similar to that for Winforms. For my base classes for textbox, combobox, etc., I set up a few custom properties so that all I have to do is set one or three properties on the prop sheet for each control (depending on which control it is) where I need to set up binding.

So I haven't had to write any code for 'bindings.add(), displaymember = 'whatever', valuemember = 'whatever', in a long time.

I don't do much Web Form development, so it didn't occur to me until I read your solution that you could take the same general approach. Great answer!

Kevin
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform