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

ASP.net ʹÓÃÖ¤ÊéÈÏÖ¤

Ҫʹ ASP.NET Web Ó¦ÓóÌÐòÄܹ»Ê¹Óÿͻ§¶ËÖ¤Ê飬Äú±ØÐëÔÚ±¾µØ¼ÆËã»ú´æ´¢Öа²×°¿Í»§¶ËÖ¤Êé¡£Èç¹ûÄúÔÚ±¾µØ¼ÆËã»ú´æ´¢Öа²×°¿Í»§¶ËÖ¤Ê飬Ôò¸Ã¿Í»§¶ËÖ¤Êé½ö¶Ô¹ÜÀíÔ±×éÖеÄÓû§ÕÊ»§ºÍ°²×°¸Ã¿Í»§¶ËÖ¤ÊéµÄÓû§¿ÉÓá£Òò´Ë£¬Äú±ØÐëÏòÓÃÓÚÔËÐÐ ASP.NET Web Ó¦ÓóÌÐòµÄÓû§ÕÊ»§ÊÚȨ£¬Ê¹ÆäÄܹ»·ÃÎÊ¿Í»§¶ËÖ¤Êé¡£
×¢Ò⣺±ØÐë°²×° Microsoft .NET Framework 1.1 Service Pack 1 (SP1) ²ÅÄÜÔÚ±¾µØ¼ÆËã»ú´æ´¢ÖÐʹÓÿͻ§¶ËÖ¤Êé¡£
´ËÍ⣬ÔÚ ASP.NET Web Ó¦ÓóÌÐòµ÷Óà Web ·þÎñʱ£¬¸ÃÓ¦ÓóÌÐò±ØÐë´ÓÖ¤Êé´æ´¢Öе¼³ö¿Í»§¶ËÖ¤Ê飬Ȼºó½«ÆäÌí¼Óµ½ Web ·þÎñµ÷ÓÃÖС£
°²×°¿Í»§¶ËÖ¤Êé²¢ÏòÓû§ÕÊ»§ÊÚÓè·ÃÎÊȨÏÞ
Òª°²×°¿Í»§¶ËÖ¤Ê飬²¢ÏòÓÃÓÚÔËÐÐ ASP.NET Web Ó¦ÓóÌÐòµÄÓû§ÕÊ»§ÊÚȨ£¬Ê¹ÆäÄܹ»·ÃÎÊ¿Í»§¶ËÖ¤Ê飬ÇëÖ´ÐÐÏÂÁв½Öè¡£
²½Öè 1£ºÔÚ±¾µØ¼ÆËã»ú´æ´¢Öа²×°¿Í»§¶ËÖ¤Êé
Èç¹ûÄúÔÚ PKCS#12 (.pfx) ÎļþÖÐÓпͻ§¶ËÖ¤Ê飬Ôò¿ÉÒÔʹÓà Microsoft Windows HTTP ·þÎñÖ¤ÊéÅäÖù¤¾ß (WinHttpCertCfg.exe) À´°²×°¿Í»§¶ËÖ¤Êé²¢ÏòÆäËûÓû§ÕÊ»§£¨ÈçÍøÂç·þÎñÕÊ»§£©ÊÚȨ£¬Ê¹ÆäÄܹ»·ÃÎÊ¿Í»§¶ËÖ¤Ê顣Ϊ´Ë£¬Çë°´ÕÕÏÂÁв½Öè²Ù×÷£º
ÏÂÔØÈ»ºó°²×° Microsoft Windows HTTP ·þÎñÖ¤ÊéÅäÖù¤¾ß¡£Òª»ñµÃ´Ë¹¤¾ß£¬Çë·ÃÎÊÏÂÃæµÄ Microsoft ÍøÕ¾£º
http://www.microsoft.com/downloads/details.aspx?familyid=c42e27ac-3409-40e9-8667-c748e422833f (http://www.microsoft.com/downloads/details.aspx?familyid=c42e27ac-3409-40e9-8667-c748e422833f)
ÔÚÃüÁîÌáʾ·û´¦ÔËÐÐÒÔÏÂÃüÁ
WinHttpCertCfg.exe –i PfxFile -c LOCAL_MACHINE\MY -p Password
×¢Ò⣺PfxFile ÊÇ .pfx ÎļþµÄÃû³Æ¡£Password ÊÇ .pfx ÎļþµÄÃÜÂë¡£Èç¹û¸ÃÎļþ²»ÒªÇóÃÜÂ룬ÔòÊ¡ÂÔ²ÎÊý -p¡£
ͨ³££¬WinHttpCertCfg.exe ÎļþλÓÚÒÔÏÂÎļþ¼ÐÖУº
C:\Program Files\Windows Resource Kits\Tools
Èç¹ûÄúÎÞȨ·ÃÎÊ .pfx Îļþ£¬²¢ÒѾ­ÔÚÔËÐÐ Microsoft Windows Server 2003 »ò Microsoft Windows 2000 Server µÄ¼ÆËã»úÉÏ°²×°ÁË Microsoft Ö¤Êé·þÎñ£¬Ôò¿ÉÒÔÌá³öÇëÇ󣬲¢Ö±½ÓÔÚ±¾µØ¼ÆËã»ú´æ´¢Öа²×°¿Í»§¶ËÖ¤Ê顣Ϊ´Ë£¬Çë°´ÕÕÏÂÁв½Öè²Ù×÷£º
ʹÓþßÓйÜÀíԱƾ¾ÝµÄÓû§ÕÊ»§µÇ¼µ½¿Í»§¶Ë¼ÆËã»ú¡£
ÔÚ Microsoft Internet Explorer ÖУ¬·ÃÎÊÖ¤Êé°ä·¢»ú¹¹ (CA) ÍøÕ¾¡£ÀýÈ磬Èç¹û CA ·þÎñÆ÷ÃûΪ CAServer£¬Çë·ÃÎÊÏÂÃæµÄÍøÕ¾£º
http://CAServer/certsrv
ÔÚ“Ñ¡ÔñÒ»¸öÈÎÎñ”Ï£¬µ¥»÷“ÉêÇëÒ»¸öÖ¤Êé”È»ºóµ¥»÷&ld


Ïà¹ØÎĵµ£º

Asp.NET³£Óú¯Êý

Ucase(string) ½«×Ö·û´®×ª»»Îª´óд¡£
Val(string) ½«´ú±íÊý×ÖµÄ×Ö·û´®×ª»»ÎªÊýÖµÐÍ̬£¬Èô×Ö·û´®Öк¬ÓзÇÊý×ÖµÄÄÚÈÝÔò»á½«ÆäÈ¥³ýºó£¬ºÏ²¢ÎªÒ»Êý×Ö¡£
Weekday(date) È¡µÄ²ÎÊýÖеÄÈÕÆÚÊÇÒ»¸öÐÇÆڵĵڼ¸Ì죬ÐÇÆÚÌìΪ1¡¢ÐÇÆÚһΪ2¡¢ÐÇÆÚ¶þΪ3 ÒÀ´ËÀàÍÆ¡£
WeekDayName(number) ÒÀ½ÓÊյIJÎÊýÈ¡µÃÐÇÆÚµÄÃû³Æ£¬¿É½ÓÊյIJÎÊýΪ1 µ½ ......

asp.net½«Ò³ÃæÖÐgridviewÖеÄÊý¾Ýµ¼Èëexcel±íÖÐ

using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.IO;
namespace ......

Asp.netÊý¾Ý°ó¶¨

Êý¾Ý°ó¶¨ÒÔ¼°Container.DataItemµÄ¾ßÌå·ÖÎö
Áé»îµÄÔËÓÃÊý¾Ý°ó¶¨²Ù×÷
°ó¶¨µ½¼òµ¥ÊôÐÔ:<%#UserName%>
°ó¶¨µ½¼¯ºÏ:<asp:ListBox id="ListBox1" datasource='<%# myArray%>' runat="server">
°ó¶¨µ½±í´ïʽ:<%#(class1.property1.ToString() + "," + class1.property2.ToString())%>
°ó¶¨µ½·½·¨·µ» ......

ÌṩÏÂÔØ£ºÒ»Ð©asp.net·½ÃæµÄ¹¤×÷Á÷×ÊÁÏ

×òÌìÍíÉÏÓÐÅóÓÑÔÚcsdn£¨Çó¹¤×÷Á÷¿ª·¢×ÊÁÏ £©ÉÏÒª¹ØÓÚ¹¤×÷Á÷µÄ×ÊÁÏ£¬ÕýºÃÇ°¶Îʱ¼äÑо¿Õâ·½ÃæµÄ¶«Î÷£¬ÊÕ¼¯ÁËһЩasp.net·½ÃæµÄ¹¤×÷Á÷×ÊÁÏ£¬ÐÄÏë·´Õý¶¼ÊÇÍøÉÏÀ´µÄºÎ²»Ô츣ϺóÀ´ÈË£¬ÓÚÊÇ°ÑÄÇЩ¾õµÃ»¹¿ÉÒԵĴòÁ˸ö°ü£¬·Åµ½ÎÒ×Ô¼ºµÄ¿Õ¼ä£¨¸ÕÉêÇ뻹ûÕýʽʹÓã©ÉϹ©´ó¼ÒÏÂÔØ.
   ÒÔÏÂÊÇ´ó¸ÅµÄĿ¼£¬Ã»Ê±¼äд½éÉÜ£¬¼òµ¥ ......

ASP.NET SessionÏê½â

µ±Óû§ÔÚ Web Ó¦ÓóÌÐòÖе¼º½ ASP.NET ҳʱ£¬ASP.NET »á»°×´Ì¬Ê¹ÄúÄܹ»´æ´¢ºÍ¼ìË÷Óû§µÄÖµ¡£HTTP ÊÇÒ»ÖÖÎÞ״̬ЭÒé¡£ÕâÒâζ×Å Web ·þÎñÆ÷»á½«Õë¶ÔÒ³ÃæµÄÿ¸ö HTTP ÇëÇó×÷Ϊ¶ÀÁ¢µÄÇëÇó½øÐд¦Àí¡£·þÎñÆ÷²»»á±£ÁôÒÔÇ°µÄÇëÇó¹ý³ÌÖÐËùʹÓõıäÁ¿ÖµµÄÈκÎÐÅÏ¢¡£
ASP.NET »á»°×´Ì¬½«À´×ÔÏÞ¶¨Ê±¼ä·¶Î§ÄÚµÄͬһä¯ÀÀÆ÷µÄÇëÇó±êʶΪһ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ