如何在Asp.net 4.0中显示WindowForm [英] How to display WindowForm in Asp.net 4.0

查看:91
本文介绍了如何在Asp.net 4.0中显示WindowForm的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我正在使用VS2010,C#,Asp.net4.0网络应用程序。

我需要在网页中显示窗口形式。



如何在网页中显示窗口形式。

plz给出建议,想法或任何参考链接。



帮助将不胜感激。

问候

Mukesh

Hi All,
I am using VS2010,C#,Asp.net4.0 web application.
I need to display window form in web page.

how can display window form in web page.
plz give suggestion,idea or any ref link.

help will be appreciated.
Regards
Mukesh

推荐答案

忘了它。如果您对Web有所了解,您会发现它毫无意义。



您的客户端Web浏览器在许多不同的平台上执行,因此 System.Windows.Forms 在一般情况下不可用,因为CLR也不可用。试想一下吧。如果这是Windows上的ASP.NET,它不会改变任何东西。您不打算在服务器端显示表单,是吗? :-)



(自己做个大忙,甚至不考虑ActiveX。并非所有浏览器都支持它,不是所有平台都支持它。但更重要的是,对于Web应用程序来说,这不是一件合法的事情,因为这是完全不安全的。有经验的用户一看到你正在使用ActiveX就不会想到使用你的一面。)



-SA
Just forget it. If you learn a bit about the Web, you will see it makes no sense.

Your client Web browser is executed on a number of different platforms, so System.Windows.Forms is not available in general case, as CLR is also not available. Just think a bit about it. And if this is ASP.NET on Windows, it does not change anything. You are not going to show a form on the server side, are you? :-)

(And do yourself a big favor, don''t even consider ActiveX. Not all browsers support it, not on all platforms. But more importantly, this is not a legitimate thing for a Web application, because this is utterly unsafe. The experienced users won''t even think about using your side as soon as they see that you are using ActiveX.)

—SA


这篇关于如何在Asp.net 4.0中显示WindowForm的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆