Handelr:Jsontest.ashx using System; using System.Collections.Generic; using System.Web; using System.Web.Script.Serialization; namespace MeJsonTest { class ItemJsonTest { public int id { get; set; } public string tname { get; set; } } public class JsonTest : IHttpHandler { public void ProcessRequest(HttpContext context) { context.Response.ContentType = "application/json"; List<ItemJsonTest> tlist = new List<ItemJsonTest>(); tlist.Add(new ItemJsonTest { id = 1, tname = "中文1中文1" }); tlist.Add(new ItemJsonTest { id = 2, tname = "繁體1繁體1" }); tlist.Add(new ItemJsonTest { id = 3, tname = "english" }); JavaScriptSerializer Serializer = new JavaScriptSerializer(); string JSONstr = Serializer.Serialize(tlist); context.Response.Write(JSONstr); } public bool IsReusable { get { return false; } } } } test.Aspx <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head> <title>Json Test</title> <meta http-equiv="Content-Type" content="text/html; charset=gb2312;" /> <mce:script type="text/javascript" mce_src="jquery-1.3.2.min.js"></mce:script> <mce:script type="text/javascript"><!-- $(document).ready(function(){ $("#button1").click(function(){ $.ajaxSetup({ cache: false }); $.getJSON("JsonTest.ashx", "", function(data){ var dvalue = ""; $.each(data, function(i, item){ dvalue += "id:" + item.id + ", tname: " + item.tname + "<br />"; }); $("#div1").html(dvalue); }); }); }); // --></mce:script> </head> <body> <form id="form1"> <button id="button1">Button1</button> <div id="div1"></div> </form> </body> </html>