Click here to Skip to main content
15,890,527 members
Please Sign up or sign in to vote.
2.00/5 (2 votes)
See more:
hi everybody ,
iam a fresher i have given some files and folders named ("images,mycss.css,thumbs.db-databasefile,inner.html,index.html")now my task is they said me to "convert htmlfiles to dotnet",as iam a fresher i have no idea reguarding it please help me and tell me the procedure how to convert html files to dotnet???iam in a very help less situation
Posted
Updated 17-Aug-11 23:14pm
v2
Comments
OriginalGriff 18-Aug-11 3:50am    
You might want to explain that a bit better.
Since we have no way to see the content of your HDD, it is very difficult to work out what you are starting with.
Use the "Improve question" widget to edit your question and provide better information.
sriram from Hyderabad 18-Aug-11 5:15am    
sir i have changed my question please help me iwill be very thankfull to you

1 solution

Follow the steps

1. Open Visual Studio in File menu select New->WebSite->ASP.Net Website give name of your website select C# and your website location click OK.
2. In solution explorer you can find default.aspx rename it as index.aspx and open it.
3. Open your index.html page copy all the contents within html tag, head tag, and title tag and paste them in index.aspx page as it is.
4. In solution explorer right click add->New Item, select webform give the name as inner.aspx and click ok
5. follow the step 3 for inner page.
6. Now, right click in solution add->New Folder, rename this as images copy your all images and paste into this folder
7. copy your css file and paste it in your website.
8. right click on index.aspx set as start page.
9. build your solution and run it.
 
Share this answer
 
v2
Comments
sriram from Hyderabad 18-Aug-11 8:18am    
thank u very much sir iam very thank full to you
RaviRanjanKr 18-Aug-11 15:45pm    
Nice Answer, My 5+

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