嵌入IE中的Winform一般是以ActiveX Form的方式嵌入的,因此可以通过Winform的属性和WebForm中的控件进行数据交换

解决方案 »

  1.   

    例如:
    假设程序集MinKe_Epigraph_Input有一个方法
    public string a(string str)
    {
       MessageBox.Show(str);
    }.aspx中如下声明,并确保MinKe_Epigraph_Input.dll和.aspx在同级目录
    <OBJECT id="Input" classid="http:MinKe_Epigraph_Input.dll#Lion_Epigraph_Input.Epigraph_Input" VIEWASTEXT></OBJECT><input type=button value="实现方法" onclick="javascript: Input.a(\"您在与嵌入中IE中的WinForm 进行数据交换\")">
      

  2.   

    请问:houjianxun onclick="javascript: Input.a(\"您在与嵌入中IE中的WinForm 进行数据交换\")" 中的"\"是什么意思?
      

  3.   

    billwang188() "\"是什么意思\"表示双引号,由于双引号是特殊字符,所以前面加上\