日期:2014-05-18 浏览次数:20962 次
<%@ Page Language="C#" AutoEventWireup="true" Codebehind="Default.aspx.cs" Inherits="_Default" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"></head> <body> <form id="form1" runat="server"> <div> 事先写好WinForm的控件,在这里调用 <object id="WindowsControl" classid="http://localhost:2549/WinComponent/WindowsControl.dll#WindowsControl.UCPortal" width="1200px" height="800px"> <param name="bb" id="bb" value="aa" /> </object> </div> </form> </body> </html>
------解决方案--------------------
activex控件就可以了