Home Page
"Join my free Amazing ASP.NET newsletter"
It's safe and easy to signup. You get:
  • Notified anytime a new article comes out
  • Technical step-by-step tutorials on all important ASP.NET topics
  • Expert guidance so you can reach unlimited ASP.NET success
  • Important ASP.NET news updates
Enter your Email

With the Visual Web Developer and Visual Studio environments, it is very easy to exchange code and other artifacts between web applications.  If you have an ASP.NET web form that you want to copy from one project to another, you can use the Solution Explorer to perform the operation.  The Solution Explorer has an option called “Add Existing Item” that takes existing files on the hard drive and makes a copy of them into your web site project’s folder.

Watch an example video where I copy a web form called “Default5″ from a project called “Lab6_csharpuniversity” into another project called “Lab7_csharpuniversity”.  *Note that when you want to copy a web form, you have to copy both the .aspx file and the .cs code behind file.  This option makes a brand new copy of the files, there is no reference to the source files in your web site project.

1 Comment »

  1. I just wanted to say a big Thank You for the SQL Express 2008 videos you’ve put on your site. I spent hours and hours installing/uninstalling and playing around with settings. Your videos put me right first time. Your a star.

    Comment by Alistair — January 11, 2009 @ 8:23 am

RSS feed for comments on this post. TrackBack URL

Leave a comment