Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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 »ñµÃ¿Í»§¶ËµÄIP

  ASP.net »ñµÃ¿Í»§¶ËµÄIP£¬×î³£¼ûµÄÊÇʹÓÃÏÂÊö´úÂ룺 string user_IP = System.Web.HttpContext.Current.Request.ServerVariables["REMOTE_ADDR"];
¶ÔÓÚÁ˽â´úÀí·þÎñÆ÷Çé¿öµÄÈË£¬ÎÒÃÇ»áÖªµÀ£¬Èç¹ûÓû§Ê¹ÓÃÁË´úÀí·þÎñÆ÷£¬ÉÏÊö´úÂë»ñµÃµÄÊÇ´úÀí·þÎñÆ÷µÄIPµØÖ·£»Èç¹ûÓû§Ê¹ÓÃÁ˶à¸ö´úÀí·þÎñÆ÷£¬ÔòÊǵ½´ï·þÎñÆ÷µÄ×îºóÒ ......

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ÖÐweb.configÅäÖÃÏê½â

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

html ÄÚ²¿ÎÞÏÞiframe ´°¿Ú

ieͨ¹ý£¬Ã»Ð´»ðºü²¿·Ö
js²¿·Ö
function setbox()
{
var thisf=this//×ÔÎÒ¸´ÖÆ£¬ÓÃÓÚǶÈëobj·½·¨ÖÐÈ¥
this.sindex=1;this.moving=false;this.sizing=false;
this.show=function(o)
{
if(o.id)
{
if(document.getElementById(o.id))
{
var td=document.getElementById(o.id);
if(td.style ......

Html ±êÇ©ÖеÄAltºÍTitle

Html ±êÇ©ÖеÄAltºÍTitle
AltºÍTitle¶¼ÊÇÌáʾÐÔÓïÑÔ±êÇ©£¬×¢ÒâÆäÇø±ð¡£
ÔÚÎÒÃÇä¯ÀÀÍøҳʱ£¬µ±Êó±êÍ£ÁôÔÚͼƬ¶ÔÏó»òÎÄ×ÖÁ´½ÓÉÏʱ£¬ÔÚÊó±êµÄÓÒϽÇÓÐʱ»á³öÏÖÒ»¸öÌáʾÐÅÏ¢¿ò¡£¶ÔÄ¿±ê½øÐÐÒ»¶¨µÄ×¢ÊÍ˵Ã÷¡£ÔÚһЩ³¡ºÏ£¬ËüµÄ×÷ÓÃÊǺÜÖØÒªµÄ¡£
alt ÓÃÀ´¸øͼƬÀ´ÌáʾµÄ¡£TitleÓÃÀ´¸øÁ´½ÓÎÄ×Ö»òÆÕͨÎÄ×ÖÌáʾµÄ¡£
Ó÷¨ÈçÏ£º
¡¡ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ