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

AJAX¼¯³ÉÓÚASP.NET

APS.NETÒ¹»°µÄÀý×Ó¼ÓÔغ󱨴íÈçÏ£º
System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35´íÎó
Ô­ÒòÊÇδÄܼÓÔØÎļþ»ò³ÌÐò¼¯ system.web.extensions
½â¾ö°ì·¨:
1,Èç¹ûÄãµÄ³ÌÐòÔËÐÐÔÚÄãÄÜ¿ØÖƵķþÎñÆ÷ÉÏ£¬ÄÇô°²×°asp.net ajax¾ÍÐÐÁË£¬ÕâÊÇSystem.Web.ExtensionsµÈdll×öΪGAC²¿Êð£»
ÏÈÏÂÔØASP.NET°²×°Îļþ£¬ÃûΪASPAJAXExtSetup.msiµÄ°²×°Îļþ¡£
2.ÏÂÔØAJAX¿Ø¼þÀ©Õ¹¿â£¬ÏÂÔØÒ³Ã棬´ò¿ªºó¸ù¾Ý.NET frameworkÊÇ2.0»¹ÊÇ3.5Ñ¡ÔñÏà¹ØµÄ°æ±¾ÏÂÔØ£¬±¾ÈËÊÇ2.0µÄ
AjaxControlToolkit.zip                             .NET framework 2.0
AjaxControlToolkit-Framework3.5.zip     .NET framework 3.5
Ϻúó¾Í½âѹµ½Ò»¸öÎļþ¼ÐÖÐ,ÎÒ¾õµÃ»¹Êǽâѹµ½vsµÄ°²×°Ä¿Â¼»òÕ߱Ƚϰ²È«µãµÄµØ·½,ÃâµÃÒÔºóÎóɾÁË.¿´Ò»ÏÂÀïÃæµÄÎļþ¼Ð,¼ÇסÁ½¸öÖØÒªµÄÎļþ¼ÐŶ,Ò»¸öÊÇBinaries  Ò»¸öÊÇSampleWebSiteϵÄbin  ,ÏÈ¿´¿´binϵĶ«Î÷,ÀïÃæÊDz»ÊÇÓкܶàÎļþ¼ÐŶ,°Ñzh-CHSºÍzh-CHTÕâÁ½¸öÎļþ¼Ð¸´ÖƵ½Binaries  ÖÐ,ÕâÁ½¸ö¾ÍÊǼòÌåºÍ·±Ìå¿Ø¼þ¿â,Èç¹ûÄãÐèÒª¿ª·¢¶à¹úÓïÑÔµÄÍøÕ¾,ÄÇÒ²¿ÉÒÔ°ÑÆäËûµÄ¸´ÖƵ½Binaries  ÖÐ.
Èç¹ûÔÚBinariesÎļþ¼ÐÏÂÃæûÓз¢ÏÖAjaxControlToolkit.dll,ÔòËÑË÷ÏÂÏÂÔصÄÎļþ°üÕâ¸öÎļþ£¬SampleWebSite\BinĿ¼ÏÂÃæÓиÃÎļþ¡£
½ÓÏÂÀ´¾Í¿ÉÒÔÌí¼Ó¿Ø¼þÁË,¹ý³ÌºÜ¼òµ¥,ÔÚ¹¤¾ßÀ¸ÉϵãÓÒ¼ü,Ñ¡ÔñÌí¼ÓÑ¡Ï,Æð¸öÃû×Ö£¬ÔÙµãÓÒ¼ü,Ñ¡Ôñ"Ñ¡ÔñÏî"£¬È»ºóÔÚ¶Ô»°¿òÖеã"ä¯ÀÀ",Ñ¡ÔñÎļþµ½BinariesÎļþ¼Ð£¬Ñ¡ÔñAjaxControlToolkit.dll£¬¼´¿É¡£
»òÕߣº
2,Èç¹ûÄãµÄ³ÌÐòÔËÐÐÔÚÐéÄâÖ÷»úÉÏ£¨ÎÞȨ°²×°³ÌÐò£©£¬ÄÇôÐèÒª°ÑSystem.Web.Extensions.dllºÍSystem.Web.Extensions.Design.dll
£¨Í¨³£ÔÚC:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\v1.0.61025Ŀ¼Ï£©2¸ödll¸´ÖƵ½ÄãµÄweb³ÌÐòµÄbinĿ¼Ï¾ÍÐÐÁË£¬ÕâÊÇÓ¦ÓóÌÐò¼¶±ðµÄ²¿Êð¡£
ͬʱעÒâÒª¼ì²éweb.configÖеĴúÂë
<assemblies>
<add assembly=&quot;System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&quot;/>
</assemblies>
<controls>
<add tagPrefix=&am


Ïà¹ØÎĵµ£º

ASP.NETÎļþÏÂÔغ¯Êý

ÔÚÄãµÄPage_LoadÖÐÌí¼ÓÕâÑùµÄ´úÂë:
 Page.Response.Clear();
 bool success = ResponseFile(Page.Request, Page.Response, "Ä¿µÄÎļþÃû³Æ", @"Ô´Îļþ·¾¶", 1024000);
 if (!success)
     Response.Write("ÏÂÔØÎļþ³ö´í£¡");
Page. ......

Asp.NetÖÐsql server 2000/2005 Á¬½Ó×Ö·û´®


http://zhanglei1286.blog.163.com/blog/static/1895797120091112113019600/
ÔÚºǫ́´úÂëÀ
SQL 2000:
static string StrConn = "server=.;uid=sa;pwd=sa;database=MyCUDS";
SQL2005:
con = new SqlConnection(@"Server=.\SQLExpress;Database=db_CMS;Persist Security Info=True;User ID=sa;Password=Masslong"); ......

ASP.NetÖÐMD5ºÍSHA1¼ÓÃܵļ¸ÖÖ·½·¨

Ê×Ïȼòµ¥½éÉÜÒ»ÏÂMD5ºÍSHA1:
MD5µÄÈ«³ÆÊÇMessage-Digest Algorithm 5£¨ÐÅÏ¢-ÕªÒªËã·¨£©£¬ÔÚ90Äê´ú³õÓÉMit Laboratory for Computer ScienceºÍRsa data security incµÄRonald l. rivest¿ª·¢³öÀ´£¬¾­md2¡¢md3ºÍmd4·¢Õ¹¶øÀ´¡£ËüµÄ×÷ÓÃÊÇÈôóÈÝÁ¿ÐÅÏ¢ÔÚÓÃÊý×ÖÇ©ÃûÈí¼þÇ©Êð˽ÈËÃܳ×Ç°±»"ѹËõ"³ÉÒ»ÖÖ±£Ãܵĸñʽ£¨¾ÍÊÇ°ÑÒ»¸öÈÎÒâ³ ......

Asp.Net¼¼Çɾ«ÝÍ

ÔÚÍøÉÏËѼ¯ÕûÀíµÄ×ÊÁÏ£¬Ï£Íû¶Ô´ó¼ÒÓÐËù°ïÖú
1.<%=...%>Óë<%#... %>µÄÇø±ð:
  ´ð:<%=...%>ÊÇÔÚ³ÌÐòÖ´ÐÐʱµ÷ÓÃ,<%#... %>ÊÇÔÚDataBind()·½·¨Ö®ºó±»µ÷ÓÃ
2.¿Ø¼þ½ÓÊÕÄÄЩÀàÐÍÊý¾Ý?
  ´ð:½ÓÊÕBindµÄ¿Ø¼þ,Ò»°ãÓÐdropDownList,DataList,DataGrid,ListBoxÕâЩ¼¯ºÏÐÔÖʵĿؼþ,¶ø±»À¦°ó  ......

asp.netÖÐsessionstate²»Îȶ¨µÄ½â¾ö·½°¸

ASP.NETÌṩÁËSession¶ÔÏ󣬴ӶøÔÊÐí³ÌÐòԱʶ±ð¡¢´æ´¢ºÍ´¦Àíͬһ¸öä¯ÀÀÆ÷¶ÔÏó¶Ô·þÎñÆ÷ÉÏij¸öÌض¨ÍøÂçÓ¦ÓóÌÐòµÄÈô¸É´ÎÇëÇóµÄÉÏÏÂÎÄÐÅÏ¢¡£Session¶ÔÓ¦ä¯ÀÀÆ÷Óë·þÎñÆ÷µÄͬһ´Î¶Ô»°£¬ÔÚä¯ÀÀÆ÷µÚÒ»ÇëÇóÍøÂçÓ¦ÓóÌÐòµÄij¸öÒ³Ãæʱ£¬·þÎñÆ÷»á´¥·¢Session_onStartʼþ£»ÔÚ¶Ô»°³¬Ê±»òÕß±»¹Ø±ÕµÄʱºò»á´¥·¢Session_onEnd ʼþ¡£³ÌÐòÔ± ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ