PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Framework Forms Need a Winform code generator from database structure

Reply

Need a Winform code generator from database structure

 
Thread Tools Rate Thread
Old 25-06-2003, 09:03 PM   #1
Brent
Guest
 
Posts: n/a
Default Need a Winform code generator from database structure


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....



  Reply With Quote
Old 25-06-2003, 11:15 PM   #2
Ken Tucker
Guest
 
Posts: n/a
Default Re: Need a Winform code generator from database structure

Brent,

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

Ken
-------------
"Brent" <beldstromNoSPAM123@pobox.com> wrote in message
news:e$W2401ODHA.3020@TK2MSFTNGP10.phx.gbl...
> 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....
>
>
>



  Reply With Quote
Old 26-06-2003, 04:04 AM   #3
Brent
Guest
 
Posts: n/a
Default Re: Need a Winform code generator from database structure

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...



"Ken Tucker" <vb2ae@bellsouth.net> wrote in message
news:OdoH992ODHA.3880@tk2msftngp13.phx.gbl...
> Brent,
>
> Did you see the data form wizard? Add a windows form to your
> project and select dataform wizard.
>
> Ken
> -------------
> "Brent" <beldstromNoSPAM123@pobox.com> wrote in message
> news:e$W2401ODHA.3020@TK2MSFTNGP10.phx.gbl...
> > 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....
> >
> >
> >

>
>



  Reply With Quote
Old 29-06-2003, 12:03 AM   #4
Roy Osherove
Guest
 
Posts: n/a
Default Re: Need a Winform code generator from database structure

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.

--
Regards,

Roy Osherove
http://www.iserializable.com
---------------------------------------------

"Brent" <beldstromNoSPAM123@pobox.com> wrote in message
news:e$W2401ODHA.3020@TK2MSFTNGP10.phx.gbl...
> 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....
>
>
>



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off