Windows Develop Bookmark and Share   
 index > Windows Forms Data Controls and Databinding > Tools for generating controls and/or forms
 

Tools for generating controls and/or forms

Looking for any tools for fast development of forms to edit data objects. Something that would allow us to use something like linq to sql or entitiy framework, but then be able to use a wizard to add a "editor" to a form. i.e. we have an object called Contact, with first name, second name, address, etc. I'd like to be able to run a wizard to create a control based on properties on the object and then have a way to hand the control an instance of the object and have it either databind or copy values to the form.
We have hundreds of objects and relations in our database, and I'm looking for tool recommendations for creating software to edit these objects.
Ideally there would be tools for editing relations, data items, etc.
Any ideas?
bpeikes  Thursday, August 27, 2009 6:45 PM
If you create an Object data source and then drag that data source from the Data Sources window to an empty form, it will create all of the controls for you.

I have detailed information on this in my book:

"Doing Objects in Visual Basic 2005"

Though the data binding techniques work the same in C# and in newer versions of VB.

There is also a simple example here:

http://www.code-magazine.com/Article.aspx?quickid=0603011

Again, the code is in VB but the technique works with either.

Hope this helps.
www.insteptech.com ; msmvps.com/blogs/deborahk
We are volunteers and ask only that if we are able to help you, that you mark our reply as your answer. THANKS!
DeborahK  Thursday, August 27, 2009 10:27 PM
If you create an Object data source and then drag that data source from the Data Sources window to an empty form, it will create all of the controls for you.

I have detailed information on this in my book:

"Doing Objects in Visual Basic 2005"

Though the data binding techniques work the same in C# and in newer versions of VB.

There is also a simple example here:

http://www.code-magazine.com/Article.aspx?quickid=0603011

Again, the code is in VB but the technique works with either.

Hope this helps.
www.insteptech.com ; msmvps.com/blogs/deborahk
We are volunteers and ask only that if we are able to help you, that you mark our reply as your answer. THANKS!
DeborahK  Thursday, August 27, 2009 10:27 PM

Hello,

I am writing to check the status of the issue on your side. Would you mind letting me know the result of the suggestions? If you have any additional question, welcome to post here.

Have a great day!

Thanks,
Rong-Chun Zhang


Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
Rong-Chun Zhang  Monday, August 31, 2009 7:46 AM

You can use google to search for other answers

Custom Search

More Threads

• Using OpenfileDialog and combobox controls in Datagridview cell.
• Data Loss on first Edit, Binding Source
• Binding to custom types
• Don´t passa to next row
• BindingSource bound controls
• disabling second combobox until selected index is changed in the first combobox in a datagrid view
• Binding to BindingSource
• Selecting a DataGridView row programatically
• Both DataSource and DataSourceID are defined in Gridview1
• Relating Progress bar to an event