Home > Net >  A set of HTML code to asp.net
A set of HTML code to asp.net

Time:09-28

Everyone a great god I want to ask how to change the set of HTML code to asp.net

CodePudding user response:

The
refer to the original poster qq_43928278 response:
everyone a great god I want to ask how to change the set of HTML code to asp.net

If there is a great god help me to change it

CodePudding user response:

.html=& gt; . Asp done

CodePudding user response:

The CSHTML

CodePudding user response:

The first HTML file extensions to aspx
The second increase codebehind code
The third increase form and other space ID and runat="server"
The fourth increase & lt; Asp: & gt; CodePudding user response:

references 4 floor XBodhi. Response:
the first HTML file extensions to aspx
The second increase codebehind code
The third increase form and other space ID and runat="server"
The fourth increase & lt; Asp: & gt;

HTML quick into MVC you teach??

CodePudding user response:

Direct CSHTML

CodePudding user response:

Add a controller

CodePudding user response:

Asp has no need to use, if the project is too old, or redesign directly into MVC, with Razor view engine, namely CSHTML suffix, data binding is easier than asp
https://docs.microsoft.com/zh-cn/aspnet/core/razor-pages/index? View=aspnetcore - 2.2 & amp; Tabs=visual studio

CodePudding user response:

refer to the eighth floor Masrao response:
asp has no need to use, if the project is too old, or redesign directly into the MVC, with Razor view engine, namely CSHTML suffix, data binding is easier than asp
https://docs.microsoft.com/zh-cn/aspnet/core/razor-pages/index? View=aspnetcore - 2.2 & amp; Tabs=visual - studio

Grammar: https://docs.microsoft.com/zh-cn/aspnet/core/mvc/views/razor? View=aspnetcore - 2.2

CodePudding user response:

According to the HTML find a common part of you, to extract the templates (common) + data (different)

is stored in the database dataWrite aspx database data into a web page, add interaction,
This process also somebody specialize, called "imitation station", there is nothing technical content and cheap is a, as long as you a little money,

CodePudding user response:

Very simple before I changed but more troublesome you want to change to a page, you will create a new asp page, and then make a copy of all the inside of the body content on your asp page in the body, and then to pull down your control to change it

CodePudding user response:

Write a. Ashx, do jump, no better than those of strong?
All HTML, write a traversal, storage pool has become,
Turn to page, but also drunk,

CodePudding user response:

After changed the data which come you?

If you just want to let others think you this is that you can create a new asp.net asp.net the HTML copy directly to the past not to go?
  • Related