Need a Winform code generator from database structure

B

Brent

Hi,

I've been searching for a code generator that can take a table in SQL Server
and generate a WinForm for that table. This form will be used to gather data
from the user in order to add and update all the fields in the table. I have
over 100 tables so a code generator would sure be helpful.

BTW I'm using the excellent LLBLGen (ver 1.2) from Frans Bouma
(http://www.sd.nl/software/default.asp) to generate the stored procedures
and DAL classes for these tables.

Since LLBLGen is open source I'd prefer code over product recommendations.

Thanks,

Brent....
 
K

Ken Tucker

Brent,

Did you see the data form wizard? Add a windows form to your
project and select dataform wizard.

Ken
 
B

Brent

Hi Ken,

I totally missed that but when I gave it a try it didn't create what I had
hoped. It puts a DatGrid on the form with a column for each field in the
table. I want individual controls such as CheckBoxes, ListBoxes, TextBoxes,
etc. aligned vertically.

Thanks anyway.

Brent...
 
R

Roy Osherove

I don't know of code to do this, but this article shows how to write
customizable GUI using XML, which is just a few steps away from what you
need...

a.. The Application Automation Layer - Using XML To Dynamically Generate GUI
Elements--Forms And Controls
Exploring the issues of runtime form and control generation as specified by
XML files.
 

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