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

asp.net ÉÏ´«ÅжÏÎļþÊÇ·ñΪͼƬ

         private bool IsPicture(string filePath)//filePathÊÇÎļþµÄÍêÕû·¾¶
        {
            try
            {
                FileStream fs = new FileStream(filePath, FileMode.Open, FileAccess.Read);
                BinaryReader reader = new BinaryReader(fs);
                string fileClass;
                byte buffer;
                byte[] b=new byte[2];
                buffer = reader.ReadByte();
                b[0] = buffer;
                fileClass = buffer.ToString();
                buffer = reader.ReadByte();
                b[1]=buffer;
                fileClass += buffer.ToString();
                reader.Close();
                fs.Close();
                if (fileClass == "255216 ")//255216ÊÇjpg;7173ÊÇgif;6677ÊÇ


Ïà¹ØÎĵµ£º

asp.net session ½éÉÜÒ»ÈýÖÖSession´æ´¢·½Ê½

asp.net session ½éÉÜÒ»ÈýÖÖSession´æ´¢·½Ê½
www.firnow.com¡¡Ê±¼ä£º2009-03-04¡¡×÷Õß:ÄäÃû ±à¼­:sky µã»÷£º¡¡1478 [ÆÀÂÛ]
¶ÔÓÚasp.netµÄ³ÌÐòÀ´Ëµ£¬sessionÊÇÒ»¸ö±ØÐèÒªÁ˽âµÄ¶ÔÏó¡£
ÏÂÃæ¾Í¶Ôsession×öÒ»¸ö¾ßÌå½éÉÜ¡£
¼òµ¥À´Ëµ£¬Session¾ÍÊÇ·þÎñÆ÷¸ø¿Í»§¶ËµÄÒ»¸ö±àºÅ£¬µ±Ò»Ì¨web·þÎñÆ÷ÔËÐÐʱ£¬¿ÉÄÜÊÇÓжà¸öÓû§¶¼ÔÚä¯ÀÀ ......

ѧϰASP.NET ³õ̽Application״̬

ѧϰASP.NET-³õ̽Application״̬ - ÉÏһƪ¡¶Ç³Ì¸TeeChart×é¼þÔÚASPÖеÄÓ¦Óá·ÏÂһƪ¡¶ÓÃIS6½øÐÐASPÈí¼þµÄ´ò°üºÍ×Ô¶¯°²×°(²¹³ä)¡·×ÖÌå: С|ÖÐ|´ó ¼ò|·±¾«²ÊÍÆ¼ö asp.netÖеÄapplicationÊý×é Asp.netÖÐapplication¶ÔÏóÎÊÌ⣿ÇëÇó.netѧÕßÖ¸µã…… °²×°Asp.net 2.0·þÎñÆ÷³öÏÖServer Application Unavailable ASP. ......

ASP.NETÓ¦ÓóÌÐòÉè¼ÆµÄ10´ó¼¼ÇÉ

ASP.NETÓ¦ÓóÌÐòÉè¼ÆµÄ10´ó¼¼ÇÉ [ ASP.NETÓ¦ÓóÌÐòÉè¼ÆµÄ10´ó¼¼ÇÉ | ÔðÈα༭: 51»¶ÀÖ°É - ¹ØÌÎ | 2007-09-25 10:38:16 ]
µ÷Õû×ÖÌå´óС: ´ó | ÖÐ | С
ÉùÃ÷:ÈçÓÐÉæ¼°µ½·¨ÂÉÏà¹ØÎÊÌâ,Ç뼰ʱÓë¹ØÌÎÁªÏµ! QQ:364586868 ÁªÏµQQ
--------------------------------------------------------------------------------
 Ô ......

asp.net ·þÎñÆ÷¿Ø¼þ¼¸¸ö ID µÄ˵Ã÷

¹ØÓÚ asp.net ·þÎñÆ÷¿Ø¼þ¼¸¸ö ID µÄ˵Ã÷[ZT]
Òý×Ô:http://lujf1978.blog.163.com/blog/static/2320126620078114112822/
 
¶ÔÓÚÿһ¸ö·þÎñÆ÷¿Ø¼þSystem.Web.UI.Control ¶¼¾ßÓÐ ID£¬UniqueID£¬ClientID Èý¸öÊôÐÔ£¬ÄÇôÕâ¸öÈýÕßµ½µ×ÓкӹØÏµ£¬ÔÚ¿Í»§¶ËHTMLÖÐÓÖÊÇÈçºÎ¶ÔÓ¦³ÊÏÖµÄÄØ£¿
ID£º»ñÈ¡»òÉèÖ÷ÖÅ䏸·þÎñÆ÷¿Ø¼þµÄ ......

ÎĵµÖÐÌáʾ Ò³Ãæ»á±ä°× asp.net¼òµ¥¼ÓÃÜ

Page.ClientScript.RegisterStartupScript(Page.GetType(), "message", "<script language='javascript' defer>alert('¼ÓÈëÔÝ´æ¼Ü³É¹¦£¡');</script>"); 
asp.net¼òµ¥¼ÓÃÜ
//using System.Web.Security;
System.Web.Security.FormsAuthentication.HashPasswordForStoringInConfig ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ