[英]read html file from asp.net
我想阅读html
文件并在asp.net中的ascx
文件中加载控件。我在net中搜索但找不到任何资源。请建议链接或任何解决方案。谢谢。
I use ASP to make HTML directly, if you have the HTML file, you may wish to save it as .aspx but use this line to call your ascx page: 我使用ASP直接制作HTML,如果您有HTML文件,则可能希望将其另存为.aspx,但使用此行调用ascx页面:
<%@CodeFile="nameFile.aspx.cs" Inherits="Pages_features" %>
I always put this at the tippy top of the page. 我总是将此放在页面的顶部。 Hope this helps (and that i've got it right, because Visual Studio usually does it for me!) 希望这会有所帮助(并且我做对了,因为Visual Studio通常为我做这件事!)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.