正在阅读:在IE浏览器中使用Windows窗体控件(二)在IE浏览器中使用Windows窗体控件(二)

2004-05-18 10:10 出处:CSDN 作者:zhzuo(翻译) 责任编辑:linjixiong

  <html>
  <body>
  <p>Authors Display Control<br><br>
  <object id="AuthorsControl1"classid="http:AuthorsWebServiceClientControl.dll#
AuthorsWebServiceClientControl.AuthorsControl"
  height="500" width="500" VIEWASTEXT>   
  </object>
  <br><br>
  </body>
  </html>

  现在我们需要创建一个虚拟目录使该控件能正常工作,并把AuthorsDisplay.htm和AuthorsWebServiceClientControl.dll放在一起。打开该浏览器输入地址,你就会看到一个按钮和一个空的DataGrid,如果你点击该命令按钮,控件就会调用Web服务同时把结果写到了DataGrid中。页面结果如下所示。

  在下一节中我们看看对进程的调试。


察看评论详细内容 我要发表评论
作者笔名 简短内容 发表时间
:
键盘也能翻页,试试“← →”键

关注我们

最新资讯离线随时看 聊天吐槽赢奖品