¼±£¬ÈçºÎ»ñÈ¡HtmlElement.InvokeMemberÖ®ºóµÄHTMLÊý¾Ý
Ò»¸öÍøÒ³³ÌÐò£¨½çÃæÉÏÓÐ1¸öTextBoxºÍ1¸öButton£©
Ö÷Ìå´úÂ룺
C# code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
this.TextBox1.Text="Hello,World";
Button1.Click += new EventHandler(Button1_Click);
}
void Button1_Click(object sender, EventArgs e)
{
//throw new NotImplementedException();
this.TextBox1.Text = "Hello World,Change!";
}
}
ÏÖÔÚÎÒÒªÔÚÒ»¸ö¿ØÖÆÌ¨³ÌÐòÀïÃæµ÷ÓôËWeb³ÌÐòÖÐButton¿Ø¼þµÄClick·½·¨
C# code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Threading;
using System.Net;
using System.IO;
using System.Security.Permissions;
namespace Ä£Äâµã»÷²Ù×÷_Console
{
class Program
{
WebBrowser wb;
//·µ»ØÍøÒ³ÄÚÈÝ×Ö·û´®
StringBuilder allInfo = new StringBuilder();
//Html Îĵµ¶ÔÏó
HtmlDocument doc;
/// <summary>
/// ½ØÈ¡Ä³ÍøÒ³ÖеÄËùÓÐÊý¾Ý--²âÊÔº¯Ê
Ïà¹ØÎÊ´ð£º
ÎÒÓÃjsÔÚhtmlÖÐÌí¼Ó¿Õ¼äµÄ·½Ê½¿ÉÒÔÔÚffϵÄhtmlÎļþÖÐÊä³ömathml¹«Ê½£¬´úÂëÈçÏ£º
=================================
<head>
<script type="text/javascript">
var myns = &qu ......
ÕâÊÇÎҵĴúÂ룬´ó¼Ò¿´Ò»ÏÂʲô´í
Dim appPPT As PowerPoint.Application
Dim ppt As PowerPoint.Presentation
&nbs ......
±ÈÈç˵ÎÒÔÚjavaºǫ́Èçϸ³Öµ
IData d1 = new DataMap();
d1.put("treelist", " <ul jwcid='@Any' class='subTree_close' id='ognl:id' partan=\"5555\& ......
¼±¼±¼±¼±¼±¼±¼±¼±¼±¼±¼±ÇóHTML CSS JavaScript±ê×¼½Ì³ÌÊÔÌâÇóHTML CSS JavaScript±ê×¼½Ì³ÌÊÔÌâÇóHTML CSS JavaScript±ê×¼½Ì³ÌÊÔÌâÇóHTML CSS JavaScript±ê×¼½Ì³ÌÊÔÌâ
µç×ÓÊé ºóÃæ Ò»°ã¶¼ÓÐ
ÏÂÔØÆµµÀ°¡
csdnÏÂ ......