Click here to Skip to main content
15,891,513 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
friends i am using visual studio to develop web applications when i import my html website into my asp.net visual studio solution and convert the extension from .html to .aspx now there is no file of (default.aspx.cs) with default.aspx i need for (defaul.aspx.cs) file to write code for database etc
please help me thanks in advance !
Posted

Just add a code code file to your project. If you want it to appear nested in Solution Explorer correctly, edit the .csproj file like:

HTML
<Compile Include="Global.asax.cs">
  <DependentUpon>Global.asax</DependentUpon>
</Compile>
 
Share this answer
 

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