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

ASP.NET»ùÓÚJQUERYµÄAJAXµÄÑéÖ¤µÇ¼£¨JSON£©

Default.aspx
<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default"%>
<!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 runat="server">
    <title>Ö÷Ò³</title>
   <script src="js/jquery-1.2.6.js" type="text/javascript"></script>
<script src="js/thickbox.js" type="text/javascript"></script>
<link type="text/css"  href="css/thickbox.css" rel="Stylesheet" />
</head>
<body>
<form id="form1" runat="server">
    <div style="margin-left:auto; margin-right:auto;width:400px;">
    <a href="ajaxLogin.html?height=120&width=250&modal=false" class="thickbox" title="ÇëµÇ¼">
    ÎÒÒª½øÐÐJQUERYµÇ¼ÑéÖ¤</a>
    <br />
    Õ˺ţºadmin<br/>
    ÃÜÂ룺admin<br />
    </div>
   
</form>
</body>
</html>
login.aspx
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="login.aspx.cs" Inherits="login" %>
<!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 runat="server">
    <title>µÇ¼ÑéÖ¤</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
  
    </div>
    </form>
</body>
</html>
login.aspx.cs
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.We


Ïà¹ØÎĵµ£º

Ajax ¿Í»§¶Ë´úÀíµÄ×÷ÓÃ

¿Í»§¶Ë´úÀíµÄ×÷ÓÃ
ÔÚ¶ÔÏóÀï×öÁËÒ»¸ö±ê¼Ç
–“__type” = “ComplexType.Color”
·þÎñÆ÷¶Ë¸ù¾Ý±ê¼ÇÑ¡Ôñ·´ÐòÁл¯µÄÄ¿±êÀàÐÍ
¿É³öÏÖ“¶à̬”Ч¹û
Employee.cs Code£º
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Secu ......

ajax´«µÝÌØÊâ²ÎÊý

²ÉÓÃAjax´«µÝ²ÎÊý¼ÓºÅ(+)ºÍÓë·ûºÅ(&)ʱºò£¬·þÎñ¶Ë»ñÈ¡µ½µÄ²ÎÊý²¢²»ÈçÒ⣡
(1) "+"ºÅ£ºJavaScript½âÎöΪ×Ö·û´®Á¬½Ó·û£¬ËùÒÔ·þÎñÆ÷¶Ë½ÓÊÕÊý¾Ýʱ"+"»á¶ªÊ§¡£
(2)"&"£ºJavaScript½âÎöΪ±äÁ¿Á¬½Ó·û£¬ËùÒÔ·þÎñÆ÷¶Ë½ÓÊÕÊý¾Ýʱ&·ûºÅÒÔºóµÄÊý¾Ý¶¼»á¶ªÊ§¡£
½â¾ö°ì·¨£ºÔÚ´«µ½·þÎñ¶Ë֮ǰÏȽ«²ÎÊýÖеÄ"+"ºÍ"&"·ûºÅ¶¼± ......

asp.net 2.0 ÔõÑù¶Ôlabel½øÐаó¶¨

ÎÊÌâÃèÊö:
Êý¾Ý¿âA±íÖУº
ID    Name
1    СÃ÷
2    Сǿ
3    СÕÅ
4    СÀî
5    С¹Ø
...
·Ö±ðÓÐLabel1,Label2... Label5 Îå¸ö±êÇ©£¬ÔõôÈÃÕâÎå¸ö±êÇ©Text°ó¶¨ÏÔʾA±íNameÁеÄÇ°5¸ö£¬¾ÍÊÇ˵Label1ÏÔʾСÃ÷£¬Label2ÏÔʾСǿ... 
......

ʹÓÃASP.NETÉÏ´«¶à¸öÎļþµ½·þÎñÆ÷

ÔÚEmailϵͳÖо­³£»áÉÏ´«¶à¸öÎļþµ½·þÎñÆ÷£¬Óû§´ó¶àÏ°¹ßÒ»´ÎÉÏ´«ËùÓеÄÎļþ£¬¶ø²»ÊÇÖð¸öÉÏ´«£¬ÎÒÃÇ¿ÉÒÔʹÓÃjavascript¶¯Ì¬µØÌí¼ÓfileÔªËص½±íµ¥£¬È»ºóÔÚ·þÎñÆ÷¶Ë´¦ÀíÕâЩfile
Ч¹ûͼÈçÏÂ:
Ò³Ãæ´úÂëMutlileFileUpload.aspxÈçÏÂ:
view plaincopy to clipboardprint?
<%@ Page Language="C#" AutoEventWireup="true" C ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ