Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

ASP.NET Ìá½»±íµ¥·½Ê½·¢ËÍÊÖ»ú¶ÌÐÅ

        string FormURL = "http://10.45.19.80:8080/easysendok.jsp";
        //±íµ¥ÐèÒªÌá½»µÄ²ÎÊý
        //sendobj ²ÎÊýΪ½ÓÊÕ¶ÔÏó£¨ÊÖ»úÓû§£©£»sendTextΪ¶ÌÐÅÄÚÈÝ 
        string FormData = " user_id1 =12312&password=123&login_name=test&user_name=12312&destaddr=" + sendobj + "&userdata=" + sendText + "";  //¸ù¾ÝÄãµÄʵ¼ÊÇé¿ö£¬·ÖÎöpost ±íµ¥¼´¿É¡£
       Encoding encoding =Encoding.GetEncoding("GBK");//ÓÃGBK±àÂ뷽ʽ£¬²»È»·¢ËͶÌÐŲ»Ö§³ÖÖÐÎÄ
       byte[] data = encoding.GetBytes(FormData);
        HttpWebRequest request = (HttpWebRequest)WebRequest.Create(FormURL);
        //Êý¾ÝÌá½»·½Ê½
        request.Method = "POST";
        request.ContentType = "application/x-www-form-urlencoded";
        request.ContentLength = data.Length;
        request.ContentLength = FormData.Length;
        request.UserAgent = "Mozilla/4.0 (compatible; MSIE 6.0; Windows Server2003 R2; SV1; .NET version 2.0.50727)";//Ä£ÄâÒ»¸öUserAgent
        Stream newStream = request.GetRequestStream();
        newStream.Write(data, 0, data.Length);
        newStream.Close();
         HttpWebResponse response = (HttpWebResponse)request.GetResponse();
        string header = response.ResponseUri.ToString();//È¡µÃ·µ»ØURL
        if (header.IndexOf("false") >= 0)
       


Ïà¹ØÎĵµ£º

Asp.netʹÓÃSqliteÊý¾Ý¿â

 1. ´Óhttp://sqlite.phxsoftware.com ÏÂÔØSystem.Data.SQLite.dll
 2. ´Óhttp://www.sqlite.org/download.html ÏÂÔØ sqlite3.dll
 3. Copy ÒÔÉÏ2¸öDllµ½Asp.netÍøÕ¾µÄbinĿ¼Ï£¬ÀàËÆ  E:\2009work\MyWeb\Bin
 4. ÓÃsqlitespy ¹¤¾ßн¨Êý¾Ý¿â£¬E:\2009work\MyWeb\App_Data\db.db3 £ ......

ÔÚ Linux ÏÂÔËÐÐ ASP.NET 2.0

µ¥Î»ÓÐһ̨ÏÐÖÃµÄ¾É IBM Netfinity 7000 µÄ·þÎñÆ÷£¬Ë« Pentium Pro 200 MHz CPU£¬512 MB Äڴ棬һ¸ö 9.1 GB ºÍÎå¸ö 4.5 GB µÄ SCSI Ó²ÅÌ¡£ÎÒÏ뽫Æä·ÏÎïÀûÓÃһϣ¬ÓÚÊÇ£º
1. µ½ http://tw.releases.ubuntu.com/edgy/ ÏÂÔØ  PC (Intel x86) server install CD £¬½«ÏÂÔØµÃµ½µÄ ubuntu-6.10-server-i386.iso Îļþ¿Ì¼һÕÅ ......

asp.net jquery Èý¼¶Áª¶¯

 var j = jQuery.noConflict();
var prov="";
var city="";
var area="";
j(function(){
    j.get("/Js/Message/address.xml",function(xml){
            j("body").data("xml",xml);
  ......

Ajax with ASP.NET ·´É任ȡÈËÔÂ

Ô­ÎÄ http://www.886s.com/blog/?p=96
Ëæ×ÅAjaxµÄÊ¢ÐУ¬´ó¼Ò¶¼È¥´ÕÈÈÄÖ£¬ÎÒÃǵÄÏîĿҲ²»ÀýÍâ¡£
¿´ÁËÒ»ÏÂÏÖÓеĴúÂ룬¶ÔÓÚÒ»¸ö²Ù×÷³éȡһ¸öµÄÒ³Ãæ£¬°Ñ²ÎÊý½ÓÊÕ£¬µ÷ÓÃÂß¼­²ãµÄÏà¹Øº¯Êý²¢·µ»ØÏàÓ¦µÄJson»òÕßXml£¬ËÑË÷ÁËһϣ¬¹¤³ÌÖо¹È»ÓÐÁË360+¸öÕâÖÖÒ³Ãæ£¬ÕâÕæÊÇÒ»ÖÖÀË·Ñ£¡Èç¹ûÓ÷´É䣬һ¸öÒ³Ãæ¾Í¿ÉÒԸ㶨£¡½ÚÊ¡Á˶àÉ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ