Click here to Skip to main content
15,910,877 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
using html source code in asp.net project

thanks in advance.
Posted
Comments
Sergey Alexandrovich Kryukov 31-Dec-14 3:07am    
What do you mean "how"? By reading on the topic, understanding how master pages work and appropriate software development. If you face particular problem which you can clearly explain, we will gladly try to help you.
—SA
neeraj_ 31-Dec-14 3:51am    
sir i want to use html source code in asp.net

1 solution

What's wrong with original MSDN documentation? Everything is explained clearly enough: http://msdn.microsoft.com/en-us/library/wtxbf3hh%28v=vs.140%29.aspx[^].

This CodeProject article can also be useful: Beginner's Tutorial on Master Pages in ASP.NET[^].

—SA
 
Share this answer
 
Comments
neeraj_ 31-Dec-14 3:52am    
sir i want to know how to use html code in asp.net ?
Sergey Alexandrovich Kryukov 31-Dec-14 13:38pm    
This is the very basis of ASP.NET, therefore, you need to learn the basics. First of all, you can use HTML page as is, because ASP.NET XML page language is based on HTML, but this is pretty much pointless, because you can have pure HTML pages.

But your question was about master pages. So, you need to make a content page from your HTML page. Just use your logic to see what can you do with your HTML code. Roughly speaking, you need to remove HTML headers, up to "body", and replace it with <asp:Content...>...

—SA
neeraj_ 2-Jan-15 2:43am    
thanks
Sergey Alexandrovich Kryukov 2-Jan-15 2:51am    
You are very welcome.
Good luck, call again.
Happy New Year!
—SA
neeraj_ 2-Jan-15 2:53am    
wish u same sir

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