Click here to Skip to main content
15,886,067 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
it really easy to add a exsisting aspx file or any kind of other thing into website(VS) simply we need to copy paste that file into website folder as msdn suggested
http://msdn.microsoft.com/en-us/library/0hds5k93(v=vs.100).aspx
but how to add an aspx file into webapplication project cause webapplication is different from website.
{{For information about the difference between Web site projects and Web application projects, see Web Application Projects versus Web Site Projects.}}

my question is how to add an aspx file into web application i am doing copy paste into web applicaiton older but getting error i have asked before see blow link..
http://www.codeproject.com/Questions/727448/One-web-application-projects-aspx-file-is-not-work
Posted

1 solution

It's Easy try to done it like this way:
Right click on your Solution explorer(Your ProjectName)and
Then Click on !!Add Existing item..!!
Then select your old .aspx pages which you want to add in your new webapplication.
Then Refresh your folder it will display your added .aspx pages.Okay!
Thanking You !
 
Share this answer
 
Comments
Muhamad Faizan Khan 16-Feb-14 3:10am    
parser error occuring. now what to do??
JatinKhimani 17-Feb-14 6:43am    
Which type of Parser error occurring ??
try to write that error or any screenshot
and when that error occurring ??
Muhamad Faizan Khan 17-Feb-14 10:33am    
http://www.codeproject.com/Questions/727448/One-web-application-projects-aspx-file-is-not-work
JatinKhimani 19-Feb-14 2:37am    
Try which i earlier said
and ADD simple Masterpage.master then Check the source code of masterpage is Inherits="MainMasterPage"
and your source code display like
Inherits="HRM1.WebForm10"
try to change it okay may be then it's can working

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900