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

ASP.NET,AJAXÎļþÉÏ´«µÄÒÉÎÊ¡£

ASP.NET,AJAXÎļþÉÏ´«µÄÒÉÎÊ
Ô­±¾ÒÔΪÓÃÕâÖÖ·½Ê½£¬°Ñ´Ë·½·¨·Åµ½Ò»¸öHttphandlerÖУ¬È»ºó´ÓJAVASCRIPT·ÃÎÊHttphandlerÀ´ÊµÏÖÎÞˢеÄÎļþÉÏ´«¡£Ã»Ïëµ½£¬ÕâÑùͬÑùÊDz»Ðеģ¬Ö»ÄÜÔÚ±¾»ú²âÊÔͨ¹ý£¬Èç¹û·Åµ½ÍøÉÏ£¬»òÕß´ÓÆäËûµØ·½·ÃÎʾͻáÌáʾÎÞ·¨ÕÒµ½Îļþ£¬¿É¼ûÔÚASP.NETÖÐËüÖ»ÄÜÓÃÓÚÉÏ´«·þÎñÆ÷¶ËµÄÎļþ¡£ 
֮ǰÔÚÍøÕ¾Ò²ËÑË÷µ½Ò»ÆªÎÄÕÂÊÇдÔõôÔÚHttphandlerÖÐÀ´ÊµÏÖÎļþÉÏ´«µÄ£¬ÊǹúÍâµÄÒ»¸öBLOG£¬Ã»Ôõô¿´Ã÷°×£¬Ã²ËÆ»¹½èÖúÓÚÒ»¸öapplet¡£ºóÀ´ÓÉÓÚû×ÊÔ´ÎÒҲûȥÊÔ¹ýÄÇ·½·¨µ½µ×ÊÇ·ñ¿ÉÐÐÁË¡£
ÎÒÏÖÔÚ»¹ÕæµÄ²»ÖªµÀÔÚASP.NETÔõôÄܹ»´¿ÊÖ¹¤µÄʵÏÖAJAXµÄÎÞË¢ÐÂÉÏ´«Îļþ£¬ÒòΪ´ÓJavaScript´ÓÌá½»±íµ¥·ÃÎÊHttphandler£¬ÔÚÀïÃæ¸ù±¾ÎÞ·¨»ñÈ¡µ½±íµ¥µÄÐÅÏ¢,HttpFileCollection,HttpPostedFile,ÀïÃ涼Êǿյġ£ÎÒ¾õµÃASP.NETÖеÄHttphandlerÓëJSPÖеÄServerletµ½ÓÐһЩÏàËÆÖ®´¦,¿ÉÊÇÔÚJSPÖÐÓÃServerletÀ´ÊµÏÖÒ»¸öAJAXÎÞË¢ÐÂÉÏ´«ºÜÈÝÒ×£¬ÏÖÔÚÕæµÄÓеãÀ§»óÁË£¬ÄѵÀASP.NETҪʵÏÖÎÞˢеÄÉÏ´«Ò»¶¨µÃÒªÓÃUpdatePanel¡£¶¼²»ÖªµÀ.NETµ½Ê²Ã´¶¼·â×°µ½¿Ø¼þ£¬ÎÒÃÇÖ»ÄÜÎÞÄÔµÄÍϳöÀ´Ê¹Ó㬾Ͳ»ÄÜÏñJSPÒ»Ñù£¬¶àÈÃÎÒÃdzÌÐòÔ±°´ÕÕ×Ô¼ºµÄ˼·ȥʵÏÖÒ»¸ö¶«Î÷¡£
private void Uploadfile(string filepath)
        {
           //string filepath = Request["filepath"].ToString();
            Response.ContentType = "text/plain";
            if (filepath == "" || filepath == null)
            {
                return;
            }
            else
            {
                FileStream fs=null;
                BinaryReader br=null;
 &nb


Ïà¹ØÎĵµ£º

ASP.NET MVCСÂÛ

Ç°ÑÔ
      ASP.NET MVC×÷Ϊ΢Èí¹Ù·½µÄ.NETƽ̨ÏÂMVC½â¾ö·½°¸£¬×Ôµ®ÉúÆð¾ÍÎüÒýÁËÖÚ¶à.NETƽ̨¿ª·¢ÈËÔ±µÄÑÛÇò¡£ÔÚ¾­ÀúÁËÂþ³¤Previewºó£¬ÉϸöÔÂ΢ÈíÖÕÓÚ·¢²¼ÁËÆäbeta°æ¡£Ó¦¸Ã˵£¬Í¨¹ýÎÒÇ×Éíʵ¼ù£¬ÎÒÈÏΪÕâ¸ö¿ò¼ÜµÄÉè¼Æ»¹ÊÇÏ൱ÓÅÐãµÄ£¬ÖÁÉÙ´ÓÒ×ÓÃÐÔÀ´Ëµ£¬ASP.NET MVCÒªÓÅÓÚJavaƽ̨ÉϵÄStrutsºÍStr ......

ASP.net¿ª·¢ÏµÁÐÖ®.netµÄÊÀ½ç

     ÔÚ.netµÄÊÀ½çÀïµ½µ×ÓÐʲôÄØ£¿µÚÒ»¸öÊÇ.net¿ò¼Ü£¨.net Framework)£¬ÏÖÔÚ×îеÄÒѾ­ÊÇ4.0°æ±¾ÁË£¬ºÇºÇ£¬µ«ÊÇÎÒµÄnetcmsÓõÄÊÇ2.0°æ±¾¡£µÚ¶þ¸öÊÇ.net¼¯³É¿ª·¢»·¾³£¬Ò²¾ÍÊÇÎÒÃÇƽ³£¿´µ½µÄvisual studio .net 2003 £¨2005 2008µÈ£©¡£ÊÇÓÃÀ´Ð´³ÌÐòºÍµ÷ÊÔ³ÌÐòÓõġ£µ±È»,Èç¹ûÄ㹻ţ±Æ£¬ÄãÒ²¿ÉÒÔÓüÇʱ¾ ......

ajax ·¢ËÍxmlÎļþ£¬java½ÓÊÜxmlÎļþ²¢½âÎö

ºìÉ«×ÖÌåΪÖ÷Òª´úÂë
jspÒ³ÃæÖÐ
<script language="javascript">
function  updateDB(operate){
  var objDom=new ActiveXObject("msxml.DomDocument");
   var objRoot=objDom.createElement("All");
   objDom.appendChild(objRoot);
  
  var k=document.ge ......

AjaxµÄÔ­ÀíºÍÓ¦ÓÃ

¹ØÓÚajaxµÄÃû×Ö
    ajax µÄÈ«³ÆÊÇAsynchronous JavaScript and XML£¬ÆäÖУ¬Asynchronous ÊÇÒì²½µÄÒâ˼£¬ËüÓбðÓÚ´«Í³web¿ª·¢ÖвÉÓõÄͬ²½µÄ·½Ê½¡£
¹ØÓÚͬ²½ºÍÒì²½
 
Òì²½´«ÊäÊÇÃæÏò×Ö·ûµÄ´«Ê䣬ËüµÄµ¥Î»ÊÇ×Ö·û£»¶øͬ²½´«ÊäÊÇÃæÏò±ÈÌصĴ«Ê䣬ËüµÄµ¥Î»ÊÇè壬Ëü´«ÊäµÄʱºòÒªÇó½ÓÊÜ·½ºÍ·¢ËÍ·½µÄʱÖÓÊ ......

asp.netºÏ²¢excel

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.OleDb; //µ¼ÈëÃüÃû¿Õ¼ä
using System.IO;
using Excel = Microsoft.Office.Interop.Excel;
using System.Reflection;
using System.Data;
usi ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ