本文介绍了添加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网站
发布评论