开发者

read html file from asp.net

I want to read html file and load control in ascx file in asp.net.I search in net but unable to find any resource.Please sugg开发者_C百科est links or any solution.Thanks.


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:

<%@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!)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜