添加System.Windows.Forms的引用到asp.net网站

编程入门 行业动态 更新时间:2024-10-08 18:41:08
本文介绍了添加System.Windows.Forms的引用到asp网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我在哪里,我使用System.Windows.Forms命名空间中参考使用Web浏览control.the应用程序正常运行在本地系统中的asp应用程序,但托管后,它会显示错误。 我如何嵌入DLL文件中的Web应用程序使用。

I have a asp application where i use System.Windows.Forms namespace reference to use web browser control.the application runs fine on local system but after hosting it shows error. How do i embed the dll for to use in the web application.

推荐答案

由于previously提到的,你不能使用的WinForms与ASP.NET控件。

As previously mentioned, you cannot use WinForms controls with ASP.NET.

使用一个iframe来显示任何网页你想在WebBrowser控件来显示: HTTP: //www.w3schools/tags/tag_iframe.asp

Use an iframe to show whatever page you're trying to display in the webbrowser control: www.w3schools/tags/tag_iframe.asp

更多推荐

添加System.Windows.Forms的引用到asp.net网站

本文发布于:2023-11-13 11:27:12,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1584232.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:网站   Windows   System   Forms   net

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!