Need a Winform code generator from database structure

  • Thread starter Thread starter Brent
  • Start date Start date
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....
 
Brent,

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

Ken
 
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...
 
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.
 
Back
Top