asp.net C#+ jquery +ajaxʵ 
Ҫaspxļ ashx ajaxҲܶ
磺  
dataType: "xml",

dataType: "json",
ʵΪ

Texttext/plain;
XMLapplication/xml;
JSONapplication/json.

dataTypeΪxmlʱresponse.Write(string)еַһҪxmlĸʽ
Ϊjsonʱresponse.Write(string)еַһҪjsonĸʽΪֽ
aspxҳһġ

ҪʹsessionĻhandlerĴSystem.Web.SessionStateã
handler̳IRequiresSessionStateӿڣһҪ̳ӿڣġ


ϱ˼ܽ
ֻʹõܸо

Ҫjquery ajax̬ҳѯ ˢЧ
Գѧߺа вطԼQQ ߲
