I need a simple app to edit database tables. Are there any code generators that will generate winforms in c#? I have CodeSmith, are there any templates around that would help in doing this?
I assume you're talking about .Net? Have you looked at Visual Studio? SharpDevelop also does this.
SQL Management Studio.
Serious answer, .NetTiers for codesmith might help you out.
I'm confused. Visual Studio will generate WinFroms code - that what the designer does. You can use the database wizard to create typed data sets. What exactly is it that Studio doesn't give that you want? What does database app have to do with a WinForms generator anyway? You want some app that will take your database and magically create a UI specifically for viewing and editing it? Maybe something like Access is more approprinate, since it can do reports and forms via drag and drop.
I think you need to clarify what exact problem you're trying to solve.
I think NConstruct might suit your needs - it generates Winforms (optionaly Web forms as well), you get full C# source code. You get application server based on NHibernate OR/M framework and client application which communicate with application server via .NET remoting.