ASP.NET中用AxWebBrowser中提交表单
日期:2007年7月8日 作者: 查看:[大字体
中字体 小字体 ]
<TR bgColor=#ffffff width="100%"> <TD align=middle colSpan=2> <form id="form1"> <INPUT language=JavaScript class=button id=Btton style="BORDER-TOP-STYLE: groove; BORDER-RIGHT-STYLE: groove; BORDER-LEFT-STYLE: groove; BORDER-BOTTOM-STYLE: groove" onclick="if (typeof(Page_ClientValidate) == ''function'') Page_ClientValidate(); " type=submit value="Start" onclick="alert(''dd'')" name=Btton></TD></TR> </form> <input type="button" onclick="alert(''test'')" id="button1"> ----------------------------------------------------------------------------------- form1.cs using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Data; using mshtml; namespace WindowSAPplication2 { /// <summary> /// Form1 的摘要说明。 /// </summary> public class Form1 : System.Windows.Forms.Form { private AxSHDocVw.AxWebBrowser axWebBrowser1; private System.Windows.Forms.Button button1; private System.Windows.Forms.Button button2; /// <summary> /// 必需的设计器变量。 /// </summary> private System.ComponentModel.Container components = null; public Form1() { // // Windows 窗体设计器支持所必需的 // InitializeComponent(); // // TODO: 在 InitializeComponent 调用后添加任何构造函数代码 // } /// <summary> /// 清理所有正在使用的资源。 /// </summary> protected override void Dispose( bool disposing ) { if( disposing ) { if (components != null) { components.Dispose(); } }
复制本页网址和标题,发送给你QQ/Msn的好友一起分享
上一篇:利用DataGrid编辑、修改、删除记录
下一篇:.NET WINFORM中使用本地SMTP SERVICE
ASP.NET中用AxWebBrowser中提交表单 相关文章:
ASP.NET中用AxWebBrowser中提交表单 相关软件: