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

ASP.NETÖÐÈçºÎµ¯³öÒ»¸öÏûÏ¢¿ò(ת)

¶¼ÖªµÀÔÚ¿Í»§諯ʹÓõ¯³ö¿òµÄÊDz»ÄÜÓÃMesssageBoxÀ´ÊµÏÖµÄ.
Ò»°ã¶¼Ê¹ÓÃÒÔϼ¸ÖÖ·½·¨.
1)    Button.Attributes.Add("onclick","javascript:return confirm('È·¶¨?');");
ÕâÖÖ·½·¨..ÏÖÔÚʹÓÃ×îµÄ¶à..
ÔÚwww.csdn.netÀïÓÐÒ»ÎÄÕ¾ͺܺÃ.
http://www.csdn.net/Develop/Read_Article.asp?Id=20892
´ó¼Ò¿ÉÒÔ¿´Ò»ÏÂ..»áÓкܶàÊÕ»ñ.
2)ÁíÒ»¸ö·½·¨..ÎÒ²»ÖªµÀÆäËüÈËÓÐûÓÐÕâôÓÃ.²»¹ýÎÒÊÇÕâôÓõÄ..ºÜ͵ÀÁµÄ°ì·¨¾©ÊÇ
< div id=div1 onclick="javascript:return confirm('È·¶¨?');"><asp: button id="Button1" runat="server" Text="Button"></asp:button></div>
Õâ¸öÒ»ÑùÄÜʵÏÖ..¶øÇÒ²»ÓÃÔö¼Ó·þÎñÆ÷µÄ¶¯×÷...²»¹ýÓÐûÓÐÆäËüºó¹û..¾Í²»..ÖªµÀÁË..
ÔÚDataGridÖÐÒ»ÑùÔÚButtonÁÐÖÐʹÓÃÊôÐԱ༭Æ÷ÔÚÎı¾(t)ÖÐдÈë
<div id=div1 onclick="javasciprt:return confrim(È·¶¨?')">ɾ³ý</div>¾ÍÄÜÔÚDataGridÖÐʵÏÖɾ³ýÈ·ÈϵŦÄÜ..µ±È»Èç¹ûÿÐÐɾ³ý²»Ò»ÑùÄã¾ÍµÃÓÃÆäËü·½·¨ÁË.
http://www.csdn.net/Develop/Read_Article.asp?Id=20892
ÖÐÒ»ÑùÓнéÉÜ.
3)¿ÉÄÜÓÐʱºò´ó¼Ò»áÕâÑùµÄÓô¦..¾ÍÊÇÄãµã»÷µ¼ÈëÊý¾ÝµÄButtonµÄ°´Å¥ºó..Ï£ÍûÄܵ¯³öÒ»¸öalert('Êý¾Ýµ¼ÈëÍê³É!')ÕâÑùµÄÐÅÏ¢.
ÕâÀï¾ÍµÃÓÃÁíÍâµÄ·½·¨ÁË..¿ÉÄܺܶàÈ˶¼ÖªµÀ¾ÍÊÇʹÓÃ.
Page.RegisterClientScriptBlock ();»òPage.RegisterStartupScript();
ÕâÁ½Ò»¹¦ÄÜÉÏÏà²î²»ÊǺܴó...ÇÒÅäºÏ.Page.IsClientScriptBlockRegistered()»òPage.IsStartupScriptRegistered();À´Ê¹ÓõÄ
string scriptStr="<script language=javasciprt> alert('Êý¾Ýµ¼·ÅÒÑÍê³É')</"
sciprtStr+="sciprt>";
Page.RegisterStartupScript("alert1",sciprtStr);
¾ÍOkÁË.
¾Ý˵Page.RegisterClientScriptBlock ();±ÈPage.RegisterStartupScript();ºÃ..
µ«ÎÒ²»ÖªµÀÔ­Òò£¬ÄÄλÄÜ˵һÏÂ×îºÃÀ².


Ïà¹ØÎĵµ£º

ASP.NetÎåÖÖ»º´æ»úÖÆ

Application
1.ApplicationÓÃÀ´±£´æËùÓÐÓû§¹²ÓõÄÐÅÏ¢
2.ÔÚAspʱ´ú£¬Èç¹ûÒª±£´æµÄÊý¾ÝÔÚÓ¦ÓóÌÐòÉú´æÆÚÄÚ²»»á»òÕߺÜÉÙ·¢Éú¸Ä±ä£¬ÄÇôʹÓÃApplicationÊÇÀíÏëµÄÑ¡Ôñ¡£µ«ÊÇÔÚAsp.net¿ª·¢»·¾³ÖÐÎÒÃÇ°ÑÀàËƵÄÅäÖÃÊý¾Ý·ÅÔÚWeb.configÖС£
3.Èç¹ûҪʹÓÃApplication ҪעÒâµÄÊÇËùÓеÄд²Ù×÷¶¼ÒªÔÚApplication_OnStartʼþÖÐÍê³É ......

½üÆÚ×÷Æ· asp.netÍøÒ³°æ¶·µØÖ÷(δÍê´ýÐø)

Ê×ÏÈÉêÃ÷ ´¿Êô¸öÈËÁ·Ï°Ö®×÷ ÇëÎðÓÃÓÚÉÌҵĿµÄ..........ÎÞÓï
¼ÍÄîÒ»ÏÂÎÒÒÔÇ°µÄÒ»¸ö×÷Æ·<¿ú>,ÒÔºó¾ÍÓÃËüµ±ÎÒµÄLOGOÁË
½ñÌìÊÇÊ×·¢,ÕâƪÎÄÕÂÎÒ»á³ÖÐø¸üÐÂ,ÎÒ²ÎÕÕÁËÔ°ÇøÀïÇ°±²µÄ¾­Ñé,ÃþË÷×ÅȥʵÏÖ,Ä¿Ç°´óÌåµÄ»¹Î´ÍêÉÆ,ÏÈ·¢ÕÅͼÉÏÀ´...
......

[ASP.net]ѧϰasp.netµÄÍêÕûÁ÷³Ì

±¾ÌùÀ´×ÔZDNetChinaÖÐÎÄÉçÇø http://bbs.zdnet.com.cn/
±¾ÌùµØÖ·£ºhttp://bbs.zdnet.com.cn/viewthread.php?tid=108315
 
Èç¹ûÄãÒѾ­Óн϶àµÄÃæÏò¶ÔÏ󿪷¢¾­Ñ飬Ìø¹ýÒÔÏÂÕâÁ½²½£º
¡¡¡¡µÚÒ»²½¡¡ÕÆÎÕÒ»ÃÅ.NETÃæÏò¶ÔÏóÓïÑÔ£¬C#»òVB.NET ÎÒÇ¿ÁÒ·´¶ÔÔÚûϵͳѧ¹ýÒ»ÃÅÃæÏò¶ÔÏó(OO)ÓïÑÔµÄÇ°ÌáÏÂȥѧASP.NET¡£ ASP.NETÊÇ ......

Asp.net Ajax webserviceʱ¼ä´Á

  ÔÚʹÓÃAJAX½øÐгÌÐò¿ª·¢µÄʱºò£¬Ò»Ö±¶¼»áÃæ¶ÔÒ»¸ö»º´æµÄÎÊÌ⣡£¡
¼´ÊÇ£¬ÉÏ´ÎÇëÇóµÄʱºò£¬ÒòΪÄãµÄSQLÓï¾ä»òÕßÆäËûÔ­Òò£¬webserviceÖзµ»ØֵΪ¿Õ£¬²»ÊÇÄãÏëÒªµÄ½á¹û¼¯£¬ÔÚÄã·¢ÏÖwebserviceÖÐÓï¾äÌå³ö´íºó£¬½øÐÐÐ޸ģ¬ÖØвâÊÔ£¬ÈÔÈ»ÊÇÉϴεķµ»Ø½á¹û£¡¸Ð¾õ¾ÍÏñÄãµÄÐÞ¸ÄÍêÈ«ÎÞЧ¡£¡£
   Æäʵ£¬ÕâÊÇÔÚAJAXµ ......

Asp.net ×Ô¶¯·¢ËÍÓʼþµÄ·½·¨


Asp.net ×Ô¶¯·¢ËÍÓʼþµÄ·½·¨ 
½ñÌìÓÐÒ»¸öÄ£¿éÐèÒª×Ô¶¯·¢ËÍÓʼþµÄ¹¦ÄÜ£¬¾ÍËæ±ãдÁËÒ»¸ö£¬¼Ç¼һÏÂ×÷Ϊ»ýÀÛ¡£
Ò»¡¢Ê×ÏÈÐèÒªÅäÖÃweb.configÎļþ£º
<system.net>
  <mailSettings>
    <smtp from="Emailname">
        <network ho ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ