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

asp.netÇå³ýhtml±ê¼Ç

#region Çå³ýÎı¾Ñùʽ  Ö÷ÒªÓ¦ÓÃÓÚ´ÓÍøÂçÕ³Ìù½øÀ´µÄÎı¾
        [WebMethod]
        public static string ClearStyle(string yourStr)//Çå³ýÑùʽ
        {
            ImageUrl = null;
            string OldString = yourStr;
            StringBuilder UpdateString = new StringBuilder();
            Regex reg = new Regex(@"(?i)<img[^>]*?\s*src=(['""]?)(?<src>[^'""\s>]+)\1[^>]*>");//Æ¥Åä³öimg±ê¼Ç
            MatchCollection mc = reg.Matches(yourStr);
            int imgsum = mc.Count;
            ImageUrl = new string[imgsum];
            if (imgsum > 0)
            {
                for (int i = 0; i < imgsum; i++)
                {
                    int len = mc[i].Length;
                    int index = OldString.IndexOf(mc[i].ToString());
                    string indextext = OldString.Substring(0, index);
                &nbs


Ïà¹ØÎĵµ£º

ASP.NETÒ³Ãæ¼äÊý¾Ý´«µÝµÄ·½·¨±È½ÏºÍ·ÖÎö

from:http://www.pccode.net/info/2010/02/24/20100224-1732.html
±¾ÎÄÎÒÃǽ«ÌÖÂÛµÄÊÇASP.NETÒ³Ãæ¼äÊý¾Ý´«µÝµÄ¼¸ÖÖ·½·¨£¬¶Ô´ËÏ£ÍûÄÜ°ïÖú´ó¼ÒÕýÈ·µÄÀí½âASP.NETÒ³Ãæ¼äÊý¾Ý´«µÝµÄÓô¦ÒÔ¼°±ãÀûÐÔ¡£
0¡¢ÒýÑÔ
WebÒ³ÃæÊÇÎÞ״̬µÄ£¬
·þÎñÆ÷¶Ôÿһ´ÎÇëÇó¶¼ÈÏΪÀ´×Ô²»Í¬Óû§£¬Òò´Ë£¬±äÁ¿µÄ״̬ÔÚÁ¬Ðø¶ÔͬһҳÃæµÄ¶à´ÎÇëÇóÖ®¼ä»òÔ ......

asp.netÖÐ×Ô¶¯¸½¼ÓÊý¾Ý¿âµÄ´úÂë


Ö±½Ó°ÑÊý¾Ý¿â·ÅÖÃApp_dataÎļþ¼ÐÖУ¬Ìí¼ÓÒ»¸öweb.configÅäÖÃÎļþÈ»ºóдÈçÏ´úÂë
<connectionStrings>
    <add name="users" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|Users.mdf;Integrated Security=True;User Instance=True" providerName="System.Data ......

Asp.NetÈÏÖ¤ºÍÊÚȨÀ©Õ¹

Ô­À´µÄMembership
    ÎÒÃÇÖªµÀÔÚAsp.Net 2.0ÖÐ΢Èí¾ÍΪÎÒÃÇÌṩÁËÇ¿´óµÄȨÏÞ¹ÜÀí¹¦ÄÜÀ´°ïÖúÎÒÃǹÜÀíAsp.NetÏàÓ¦µÄȨÏÞ£¬ÆäʵËüÊǶÔÎÒÃǵÄÉí·ÝÈÏÖ¤ºÍȨÏÞ¹ÜÀíµÄÒ»ÖÖ³éÏó¡£ÕâÀï¼òµ¥µÄÁ˽âÒ»ÏÂMembership£º
ÎÒÃÇÓ¦¸ÃÖªµÀ΢Èí¹ØÓÚÈÏÖ¤·½Ãæ¸øÎÒÃÇÌṩÁËÈýÖÖÈÏÖ¤·½Ê½windows ¡¢Forms¡¢Passport,ÎÒÏëÊìϤAsp.Net ......

static±äÁ¿Óëasp.net

ÔÚC#ÖУ¬static±äÁ¿±íʾ¸Ã±äÁ¿ÊôÓÚÀ࣬¶ø²»ÊÇÀàµÄʵÀý¡£¿ÉÒÔ˵ÊǸÃÀàµÄËùÓÐʵÀý¹²ÏíÒ»¸östatic±äÁ¿¡£
asp.netµÄÒ³Ãæ¾ÍÊÇÒ»¸öÀ࣬ÎÒÃÇ·ÃÎÊÒ»¸öÒ³Ãæ¡£¾Í»áÔÚ·þÎñÆ÷ÉÏʵÀý»¯Ò»¸ö¸ÃÀàµÄʵÀý£¬À´ÏìÓ¦ÎÒÃǵÄÇëÇó¡£
“ËùÓÐʵÀý¹²ÏíÒ»¸östatic±äÁ¿” Õâ¾ÍÒâζ×Å£¬ËùÓеĿͻ§¶Ë·ÃÎʵ½µÄasp.netÒ³ÃæÖÐstatic±äÁ¿¶¼ÊÇͬһ¸ ......

ASP.NET¡¾DataGridView¡¿72¼Æ

DataGridView 72¼Æ
±¾ÎĽ«½éÉÜASP.NETÖÐDataGridViewµÄÓ÷¨,DataGridViewÔÚAsp.netÖÐÊdz£ÓõĿؼþÖ®Ò»£¬ÕÆÎÕºÃDataGridViewµÄÌصãºÍÓ÷¨¡£½«¶Ô³ÌÐòµÄÐÔÄÜÓдó´óµÄÌá¸ß£¬Í¬Ê±Ò²ÄܼӿìÎÒÃÇÏîÄ¿µÄ¿ª·¢ÖÜÆÚ£¡
¿ìËÙÔ¤ÀÀ£º
GridViewÎÞ´úÂë·ÖÒ³ÅÅÐò
GridViewÑ¡ÖУ¬±à¼­£¬È¡Ïû£¬É¾³ý
GridViewÕý·´Ë«ÏòÅÅÐò
GridViewºÍÏÂÀ­²Ëµ¥ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ