Data Binding different in VS2005?

E

erik.c.larson

I imported a projected I created in VS2003 to VS2005 beta 2. The
project builds just fine, but throws an ArgumentException (cannot bind
property...) when I add a control to a Controls list. When I comment
out all my simple data bindings obj.DataBindings.Add(property,
dataSource, dataMember), it runs just fine, but without binding. Any
ideas why this would work fine in VS2003 but not in VS2005?
 
D

dbradley

There may be a specific solution for your specific problem, but
generally I find porting projects a bad idea. Things are usually
cleaner if you generate the wizard stuff from scratch under the new
version and copy over the meat to the newly created skeleton.

I know this is a pain for large projects, but it's often as painful
trying to track down squirrely problems due to a conversion glitch.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top