Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Two-way databinding in ASP.NET 1.x
Message
From
19/06/2004 18:41:00
 
 
To
19/06/2004 18:33:41
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00915381
Message ID:
00915405
Views:
10
(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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform