原创 Asp.net程序的Master_page模式
Introduction<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /> This article is about detailin
原创 CallAspxPageWithJavaScript
var xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); // 異步調用 xmlhttp.onreadystatechange = function() {
原创 同時實現script和.net代碼的執行,並保證順序
以下是.net的代碼。 string strFriendID = this.txtBoxReceiver.Text; BusinessRule br = new BusinessRule(); br.RemoveFri
原创 .net調用別人的http頁面,返回結果,url中有中文的處理,get和post兩種方法
一 get方法。 using System;using System.Net;using System.IO;using System.Text;using System.Web;using MSXML2;using System.Thr
原创 CallAspxPageWithDotNet
// 準備請求... HttpWebRequest myRequest = (HttpWebRequest)WebRequest.Create(strUrl); myRequest.Method = "POST"; my