Simple data binding simplified using [BindToField] and [BindToValueList]

My blog has moved.
You can view this post at the following address:
http://www.osherove.com/blog/2004/8/30/simple-data-binding-simplified-using-bindtofield-and-bindtov.html
Published Monday, August 30, 2004 10:38 PM by RoyOsherove
Filed under:

Comments

Tuesday, August 31, 2004 2:46 AM by TrackBack

# VERY Cool Winforms Data Binding Helper

VERY Cool Winforms Data Binding Helper
Tuesday, August 31, 2004 4:14 AM by TrackBack

# Databinding helper for winforms

Tuesday, August 31, 2004 11:25 AM by Oskar Austegard

# re: Simple data binding simplified using [BindToField] and [BindToValueList]

Very interesting. I tried the sample project, but it appears the combo box's value is not bound to each record.

I'd be very interested to see the code behind [sic] one of your more complex forms.

Thanks,
Tuesday, August 31, 2004 3:11 PM by David Hayden

# re: Simple data binding simplified using [BindToField] and [BindToValueList]

Over the past 3 months I have realized the power of attributes and reflection. I now use them for simple data validation on busines objects and thay have really simplified my programming. Not only is the code cleaner, but code changes are easier and the code is more self-documenting.

Your example on using attributes for simple data binding is just another great example of their use. Great stuff.
Wednesday, September 01, 2004 2:38 AM by TrackBack

# RE: Simple data binding simplified using [BindToField] and [BindToValueList]

Saturday, September 04, 2004 9:34 PM by Kenneth Russo

# re: Simple data binding simplified using [BindToField] and [BindToValueList]

Slick. I did something similar in a recent project, but used the Tag property instead. I'm wondering if I'm missing some goodness by using the Tag property instead of setting an attribute. I like seeing the setting in the Property Grid when I click on a component, but I'm certainly not married to the idea if there's a good reason to switch about which I'm ignorant.
Wednesday, September 22, 2004 5:22 AM by TrackBack

# ANN: Optimized automatic control binder is out - and its fast!

Wednesday, September 22, 2004 1:24 PM by Jerrad Anderson

# re: Simple data binding simplified using [BindToField] and [BindToValueList]

will this also work on ASP.net forms??? should right?
Friday, December 22, 2006 10:06 AM by Shun Reeda

# re: Simple data binding simplified using [BindToField] and [BindToValueList]

Hi:

I can´t download the source code, could you send it or post on other web page?, I know is too much to ask.

Sorry and thanks in advanced.

e-mail: shun_reeda@yahoo.com.mx

Thursday, August 23, 2007 1:58 PM by ISerializable - Roy Osherove's Blog

# ANN: Optimized automatic control binder is out - and its fast!

Last month I posted about a cool way we came up with to automatically bind all the controls on our application