Convert html to aspx

后端 未结 3 1537
遥遥无期
遥遥无期 2021-01-20 00:53

Is there any tool or code to convert HTML files to .ASPX?

Elaboration to earlier question: I am looking for tool or code that automatically converts HTML controls to

3条回答
  •  暗喜
    暗喜 (楼主)
    2021-01-20 01:20

    Its very simple to convert .html to .aspx

    if you just change the extension from .html to .aspx ,

    1. Sometimes it leads to some unexpected exception handling, that says as , file cannot open or corrupted You will just have the filename.aspx page(design and source) BUT WILL not get the filenmae.aspx.vb page(coding).

    So better follow these steps :

    1. Open the .html file in a notepad and copy the contents.

    2. Create a new webform in visualstudio (with masterpage)

    3. Goto source page and erase the default contents and paste the copied contents
    4. Save it. execute it .

    Note(Imp): Do not forget to keep ur webform controls , jscripts, css(stylesheets), images(if any) within the project created

提交回复
热议问题