Wrox Programmer Forums
|
Visual Web Developer 2005 Discuss creating ASP.NET 2.0 sites with Microsoft's Visual Web Developer 2005. If your question is more specific to a piece of code than the Visual tool, see the ASP.NEt 2.0 forums instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual Web Developer 2005 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 1st, 2009, 12:02 PM
Registered User
 
Join Date: Nov 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Post IWizard

Hi,

I have a requirement to create a New Project Template Wizard in VS 2005.
a. On clicking of the Wizard will show the tables from SQL.
b. User will select the required table.
c. Then the wizard should create a class file with all the tables as a class name and properties as a field name.

I know it is a huge requirement, but kindly suggest the outline on what to do. When I browsed on the web I got info. about IWizard interface which invoke the windows form when user select the Mytemplate in the new web project.
But how to pick values from the form and create the class file and add it to the web project is the main question.

Kindly help!!!! Thanks
 
Old December 1st, 2009, 01:39 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

Does it have to be a New Project wizard? Or is generating classes based on a database schema the final goal?

In the latter case, take a look at My Generation: http://www.mygenerationsoftware.com/ or at Microsoft's T4 templates: http://www.google.com/search?hl=en&s...=f&oq=&aqi=g10

In the former case: sorry, can't help much. Rather than posting this in an ASP.NET category, try a Visual Studio category here at p2p.wrox.com....

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!









Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.