asp.net ÎÊÌ⣬¼± ´ó¼Ò°ï°ïæ - .NET¼¼Êõ / ASP.NET
ÎÊÌâÊÇÕâÑùµÄ¡£
ÎÒµÄÒ³ÃæÖÐÓÐÈý¸ö²ã£¬
µÚÒ»¸ö²ãÖÐÓÐÒ»¸ötextbox µ±Ê§È¥½¹µãµÄʱºòÎÒÒªµ½Êý¾Ý¿âÖжԱȣ¬Èç¹ûÊý¾Ý¿âÖÐÓÐÓÚÊäÈëµÄÆ¥Åä¡£Ôò²»ÏÔʾµÚ¶þ¸ö²ã£¬·ñÔòÏÔʾµÚ¶þ¸ö²ã
¾ÍºÍÄǸöÑéÖ¤Óû§ÃûÊÇ·ñ´æÔÚʱһÑùµÄ¡£
ÏȰÑÎÊÌâÃèÊöÇå³þ..
AJAX
http://blog.csdn.net/cjqpc12345/archive/2006/08/07/1034759.aspx
ÎÒµÄÒâ˼ÊÇ˵¡£¡£ÎÒÓÐ3¸ö²ã£¬µÚÒ»¸ö²ã·ÅÒ»¸öÎı¾¿ò£¬Èç¹ûÎı¾¿òÖеÄÖµµ½Êý¾Ý¿âÖÐÓоͲ»ÏÔʾµÚ¶þ¸ö²ã£¬Èç¹ûûÓоÍÏÔʾµÚ¶þ¸ö²ã¡£µÚÈý¸ö²ãÊǷŰ´Å¥µÄ¡£
Óûص÷¼¼Êõ£¡£¡
½Å±¾µ÷Óúǫ́´úÂë¾Í¿ÉÒÔʵÏÖÕâ¸ö¹¦ÄÜ
AjaxÒì²½»Øµ÷£¬WebServer¿ÉÒÔ½â¾ö
ÎÒ¶Ôajax ²»ÊǺܶ®¡£×òÌìÒÀºù«»Æ°£¬£¬·Åµ½table
ºÍdiv ÀïÃæÀÏÊDZ¨´í¡£
Çë½Ì¸ßÊÖ
ÄãÊÇÔõô۵ģ¿
AjaxÖв»ÄÜÓÐʹÓ÷þÎñÆ÷¿Ø¼þµÄ¡£
È¥¿´ÏÂAjaxʵÀý°É
ÎÒһʱҲ˵²»Ã÷°×¡£¡£ °Ñ´úÂëÌù³öÀ´°É
Ç°Ì¨Ò³ÃæÖеÄjs
function BtnGet_onclick() {
// µ÷Ó÷½·¨
var ss= document.getElementById("txtuserName").value;//Õâ¸öÊÇÎÒÏëÏȽÓÊÕÎı¾¿òÖÐÊäÈëµÄÖµ,Èúó×÷Ϊ±äÁ¿´«¸øÏÂÃæÄǸöº¯Êý.µ«ÊÇÀÏÊDZ¨´í,,¶¨ÒåºÃÏñ´íÁË.°ïÎÒ¿´¿´
var stu = StudentServer.SetStu(ss).value;
document.getElementById("div2").style.display="block";
}
ºǫ́½ÓÊÕ.
public string SetStu(string ss)
{
// Ö±½Ó½ÓÊܶÔÏó²ÎÊý
//StringBuilder sb = new StringBuilder();
EntryTable ent = new EntryTable();
//sb.Append("Óû§ÃûÎ
Ïà¹ØÎÊ´ð£º
1.asp.net×öµÄÒ»¸ö´ðÌâÒ³Ãæ£¬ÈçºÎʵʱÏÞʱºó×Ô¶¯Ìá½»£¬Çë´ó¼Ò¸øµã˼·
ÏÞʱµÄʱ¼äÐÅÏ¢´æ·ÅÔÚÊý¾Ý¿âÖÐ
2.Èç¹û´ðÌâʱ¼äÉèÖõĽϳ¤£¬ÈçºÎ·½Ê½session³¬Ê±ºóÒ³ÃæÎÞЧ
лл
ÓÃjs·½·¨À´¿ØÖÆ
»Ø¸´ÄÚÈÝÌ«¶ÌÁË¡£¡£
js ......
ÎÒÓÃ.net¿ª·¢wapÍøÕ¾
1£¬ÎÒ´Ó¹¤¾ßÏäÀïÍÏÁËÁ½¸ölink£¬ÕâÁ½¸ölink»áÏÔʾÔÚÁ½ÐУ¬Èç¹ûÈÃÕâÁ½¸ölink´¦ÓÚͬһÐС£
2£¬ÈçºÎÏÔʾÁ½¸ö¿Ø¼þÖ®¼äµÄ¿Õ¸ñÎÊÌâ¡£
¸úwapÓйØÂ𣿲»Ì«Ã÷°×
ÓÑÇé°ï¶¥¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£
¾Í ......
¾ÍÊÇÒ»¸ö°´Å¥£¬µã»÷Ö®ºó´ò¿ª¶Ô»°¿ò£¬È»ºóѡȡͼƬ¡£¾ÍÕâÑùÉÏ´«¡£¡£
ÔõôʵÏÖ¡£ÔÚÍøÉÏËѵ½ÄÇô¶àµÄ´úÂ룬ȫÊǺܶàµÄÄÇÖÖ£¬²»ÖªµÀ£¬¿´²»ÏÂÈ¥¡£
ËùÒÔÔÚÕâÀïÏëÇë´ó¸ç´ó½ã°ï°ïæ¡£
ʹÓÃ×Ô´øµÄfileupload¿Ø¼þ¿ÉÒÔʵÏÖ ......
´úÂëÈçÏ Çë¸ßÊÖ Ö¸µãÏ лл
ajax_http.js
-------------
function getXMLHTTP() {
var xmlhttp;
if (window.ActiveXObject) {
//IE
try {
......