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

asp.netÉú³ÉÊý×Ö¡¢×ÖÄ¸Ëæ»úÊý

 char[] constant = { '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z' };
                StringBuilder ascii = new StringBuilder();
               // byte[] bytes = new byte[100];
                Random random = new Random();
               
              //  int code;
               // string strRnd = "ÓοÍ" + random.Next(9).ToString() + random.Next(9).ToString() + random.Next(9).ToString();
                for (int i = 0; i < 4; i++)
                {
                   // code = random.Next(62);
                   ascii.Append(constant[random.Next(62)]);
                }
               // ASCIIEncoding ascii = new ASCIIEncoding();
                lbl.Text = ascii.ToString();


Ïà¹ØÎĵµ£º

asp.net ²Ù×÷excelµÄʵÏÖ´úÂë

ÓÃasp.net²Ù×÷excelµÄʵÏÖ´úÂ룬һֱ¶¼ÊDZ¾ÈËËùϲ»¶µÄ£¬´ÓÍøÉÏËÑÁËÏÂASP.NET ExcelÕÒµ½ÁËÕâÆªºÃÎÄÕÂ
Ïêϸ³ö´¦²Î¿¼£ºhttp://www.jb51.net/article/13629.htm
ExcelÊÇMicrosoft¹«Ë¾µÄOfficeÌ×¼þÖеÄÒ»ÖÖÈí¼þ£¬ËûÖ÷ÒªÓÃÀ´´¦Àíµç×Ó±í¸ñ¡£ExcelÒÔ½çÃæÓѺᢴ¦ÀíÊý¾ÝѸËÙµÈÓŵã»ñµÃ¹ã´ó°ì¹«ÈËÔ±µÄ»¶Ó­¡£ËùÒԺܶàÎĵµ¾ÍÒÔExcelµÄ ......

ÈÏʶASP.NETÅäÖÃÎļþWeb.config

Ò»¡¢ÈÏʶWeb.configÎļþ
Web.configÎļþÊÇÒ»¸öXMLÎı¾Îļþ£¬ËüÓÃÀ´´¢´æ ASP.NET Web Ó¦ÓóÌÐòµÄÅäÖÃÐÅÏ¢£¨Èç×î³£ÓõÄÉèÖÃASP.NET Web Ó¦ÓóÌÐòµÄÉí·ÝÑéÖ¤·½Ê½£©£¬Ëü¿ÉÒÔ³öÏÖÔÚÓ¦ÓóÌÐòµÄÿһ¸öĿ¼ÖС£µ±Äãͨ¹ýVB.NETн¨Ò»¸öWebÓ¦ÓóÌÐòºó£¬Ä¬ÈÏÇé¿öÏ»áÔÚ¸ùĿ¼×Ô¶¯´´½¨Ò»¸öĬÈϵÄ
Web.configÎļþ£¬°üÀ¨Ä¬ÈϵÄÅäÖÃÉèÖà ......

ASP.NETÖÐË®¾§±¨±íµÄʹÓÃʵÀý

Ë®¾§±¨±í¿ÉÒÔÓɺܶàµÄ·½·¨µÃµ½£¬ÆäÖÐÒ»¸ö¾ÍÊÇʹÓÃVS.NetÀ´´´½¨£¬ËüÌṩÁ˷dz£·á¸»Ä£ÐÍÒÔʹÎÒÃÇÄܹ»ÔÚÔËÐÐʱ²Ù×÷ÊôÐԺͷ½·¨¡£Èç¹ûÄãÕýÔÚʹÓÃVS.Net¿ª·¢.Net³ÌÐò£¬ÄÇôÄã¾Í²»ÐèÒªÔÙ°²×°ÆäËüÈí¼þÁË£¬ÒòΪËûÒѾ­ÄÚǶÔÚVS.NetÖÐÁË¡£
¡¡¡¡Óŵã:
¡¡¡¡VS.NetË®¾§±¨±íÓÐÏÂÃæÒ»Ð©Ö÷ÒªµÄÓŵ㣺
¿ìËٵı¨±í¿ª·¢
Äܹ»µ¼³ö³ÉΪ¸´Ô ......

ÀûÓÃASP.NETʵÏÖwebÌ×´ò

×î½ü£¬Òª°ÑÒ»¸öC/S½á¹¹µÄ³ÌÐò¸Ä³ÉB/S½á¹¹¡£ÆäÖоÍÓöµ½ÁË´òÓ¡µÄÎÊÌâ¡£Ñо¿ÁËһϣ¬webÏ´òÓ¡·½·¨´ó¸ÅÓÐÕâô¼¸ÖÖ£º
1¡¢ÀûÓÃIEÖ±½Ó´òÓ¡£¬ÕâÖÖ·½Ê½×î·½±ã£¬µ«ÊÇ¿ØÖÆÄÜÁ¦½Ï²î¡£
2¡¢ÀûÓÃACTIVE¿Ø¼þ£¬¿ÉÒÔ×Ô¼º×öÒ»¸öIEµÄ¿Ø¼þÀ´¿ØÖÆ´òÓ¡¡£
3¡¢Ë®¾§±¨±íµÈµÚÈý·½¹¤¾ß£¬¹ºÂò¼Û¸ñ°º¹ó¡£
    ¸ù¾ÝÎÒµÄÐèÇóÇé¿ö£¬ÓÃIEÖ ......

ASP.NET CookieʹÓÃ()

1.ʲôÊÇcookie?
cookie ÊÇһС¶ÎÎı¾ÐÅÏ¢£¬°éËæÓû§ÇëÇó£¬ÔÚweb·þÎñÆ÷ºÍä¯ÀÀÆ÷Ö®¼ä´«µÝ¡£Óû§Ã¿´Î·ÃÎÊÕ¾µãµÄʱºò£¬
webÓ¦ÓóÌÐò¶¼¿ÉÒÔ¶ÁÈ¡cookie°üº¬µÄÐÅÏ¢¡£
¼ÙÉèÔÚÓû§ÇëÇóÄúµÄÍøÕ¾µÄij¸öÒ³ÃæÊ±£¬ÄúµÄÓ¦ÓóÌÐò²»½öÊÇ·µ»ØÇëÇóµÄÒ³Ãæ¡£Í¬Ê±Ò²·µ»ØÒ»¸ö°üº¬ÈÕÆÚ
ºÍʱ¼äµÄcookie¡£Óû§µÄä¯ÀÀÆ÷ÔÚ»ñµÃÒ³ÃæµÄͬʱҲ»ñµÃÁË ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ