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

asp.net + jquery+json µÄ¼òµ¥ÊµÀý

ÕâÀïÊÇÎÒµÄÒ»¸ö¼òµ¥µÄjquery+jsonµÄÁ¬¿â²Ù×÷£¬Ö»ÊÇÒ»¸ö¼òµ¥²éѯ£¬
//ºǫ́´úÂë
<%@ WebHandler Language="C#" Class="show" %>
using System;
using System.Web;
using System.Collections.Generic;
using Model;
using DAL;
using System.Web.Script.Serialization;
public class show : IHttpHandler {
   
    public void ProcessRequest (HttpContext context) {
       
        JavaScriptSerializer serializer=new JavaScriptSerializer();
        //µ÷Óúǫ́·½·¨
        IList<test> tt = testservice.getalltest();
         //ÐòÁл¯
        string date= serializer.Serialize(tt);
        context.Response.ContentType = "text/plain";
        
        context.Response.Write(date);
              
    }
 
    public bool IsReusable {
        get {
            return false;
        }
    }
}
//ǰ̨´úÂë
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <script src="js/jquery-1.3.2.js" type="text/javascript"></script>
    <script src="js/jquery.js" type="text/javascript"></script>
    <script type="text/javascript" language="javascript">
        $(document).ready(function() {
 &n


Ïà¹ØÎĵµ£º

¹ØÓÚasp.netÒ³ÃæÏ¸÷ÖÖÍøÒ³±à¼­Æ÷×ܽá


×î½üÐèÒªÒ»¸öasp.netϵÄÍøÒ³±à¼­Æ÷£¬¾­¹ý¼¸ÌìµÄ²éÕÒÓëÕûÀí£¬ÖÕÓÚ½«Ö÷ÒªµÄ¼¸¸ö±à¼­Æ÷ÕÒÆë£¬×Ô¼ºÓùýºó£¬×ÜÖÕһϡ£
1¡¢ Cuteeditordemo£º¹¦ÄÜ×îÇ¿´óµÄÓ¦¸ÃÊÇÕâ¸ö±à¼­Æ÷ÁË£¬µ«ÊÇÕâ¸ö±à¼­Æ÷±È½ÏµÄ´ó£¬ÓÐ5MB¶à£¬Í¬Ê±ÔËÐÐÆðÀ´ËÙ¶È·½ÃæÒ²±È½ÏµÄÂý¡£ÔÚʵ¼ÊµÄʹÓÃÖУ¬¹úÄÚʹÓõÄÈ˲¢²»¶à£¬¶øÇÒÊÇÓ¢ÎİæµÄ¡£Ç¿ÄÜÊÇ×îÇ¿´ó£¬µ ......

asp.netÔËÐÐÔ­Àí

Ö÷ÒªÀࣺ
¡¡¡¡System.Web.HttpRuntime
¡¡¡¡System.Web.HttpApplicationFactory
¡¡¡¡System.Web.HttpApplication
¡¡¡¡System.Web.Compilation.BuildManager
¡¡¡¡System.Web.Compilation.ApplicationBuildProvider
¡¡¡¡System.Web.Compilation.BuildProvidersCompiler
¡¡¡¡System.Web.UI.PageHandlerFactory
¡¡¡¡ÇëÇó ......

ѧϰasp.net±È½ÏÍêÕûµÄÁ÷³Ì

Èç¹ûÄãÒѾ­Óн϶àµÄÃæÏò¶ÔÏ󿪷¢¾­Ñé£¬Ìø¹ýÒÔÏÂÕâÁ½²½£º
¡¡¡¡µÚÒ»²½¡¡ÕÆÎÕÒ»ÃÅ.NETÃæÏò¶ÔÏóÓïÑÔ£¬C#»òVB.NET ÎÒÇ¿ÁÒ·´¶ÔÔÚûϵͳѧ¹ýÒ»ÃÅÃæÏò¶ÔÏó(OO)ÓïÑÔµÄǰÌáÏÂȥѧASP.NET¡£ ASP.NETÊÇÒ»¸öÈ«ÃæÏò¶ÔÏóµÄ¼¼Êõ£¬²»¶®OO£¬ÄǾø¶Ôѧ²»ÏÂÈ¥!
¡¡¡¡µÚ¶þ²½¡¡¶Ô.NET FrameworkÀà¿âÓÐÒ»¶¨µÄÁ˽⠿ÉÒÔͨ¹ý¿ª·¢Windows FormÓ¦ÓÃ³Ì ......

asp.netѧϰ²½Öè


µÚÒ»²½¡¡ÕÆÎÕÒ»ÃÅ¡£NETÃæÏò¶ÔÏóÓïÑÔ£¬C#»òVB.NET ÎÒÇ¿ÁÒ·´¶ÔÔÚûϵͳѧ¹ýÒ»ÃÅÃæÏò¶ÔÏó£¨OO£©ÓïÑÔµÄǰÌáÏÂȥѧASP.NET¡£ ASP.NETÊÇÒ»¸öÈ«ÃæÏò¶ÔÏóµÄ¼¼Êõ£¬²»¶®OO£¬ÄǾø¶Ôѧ²»ÏÂÈ¥£¡
µÚ¶þ²½¡¡¶Ô¡£NET FrameworkÀà¿âÓÐÒ»¶¨µÄÁ˽⠿ÉÒÔͨ¹ý¿ª·¢Windows FormÓ¦ÓóÌÐòÀ´Ñ§Ï°¡£NET Framework¡£ASP.NETÊǽ¨¹¹ÔÚ¡£NET FrameworkÖ® ......

ASP.NETÃæÊÔÌâ(Ò»)

SP.NETÃæÊÔÌâ
£¨×ª Ô­ÎĵØÖ·http://blog.sina.com.cn/s/blog_524c848901009e7b.html~type=v5_one&label=rela_nextarticle ×÷Õß
ÀîÑóµÄ²©¿Í
http://blog.sina.com.cn/liiyang£©
1. ¼òÊö private¡¢ protected¡¢ public¡¢ internal ÐÞÊηûµÄ·ÃÎÊȨÏÞ¡£
´ð . private : ˽ÓгÉÔ±, ÔÚÀàµÄÄÚ²¿²Å¿ÉÒÔ·ÃÎÊ¡£
prote ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ