web analytics

How to include HTML file in the ASPX page?

Options

codeling 1599 - 6654
@2020-04-06 10:00:27

The HTML files can be included in the ASPX page by using the following syntax:

<!--include file="filename"-->

Example

<table>
    <tr>
        <td>
            <!--#include file="sample.html"-->
        </td>
    </tr>
</table>

Now the sample.htm will be displayed in the aspx page.

Comments

You must Sign In to comment on this topic.


© 2024 Digcode.com