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

C#£¨ASP.NET£© ÏÂÔØÊý¾Ý

Internet Àà
using System;
using System.Collections.Generic;
using System.Collections;
using System.Text;
using System.Net;
using System.IO;
using System.Text.RegularExpressions;
using System.Threading;
namespace DownData
{
    class internet
    {
        #region ¹ýÂ˿ոñ
        public static string FilterKG(string msg)
        {
            string ms = Regex.Replace(msg, @"\s", "");
            return ms;
        }
        #endregion
        #region ¿É±äµØ·½
        // ÌáÈ¡HTML´úÂëÖеÄÍøÖ·
        public static ArrayList GetHyperLinks(string content)
        {
            ArrayList al = new ArrayList();
            int b = 0;
            int a = 0;
            int index = 0;
                while (true)
            {
                a = content.IndexOf("<a href=\"javascript:click_history('", b);
                if (a != -1)
                {
             


Ïà¹ØÎĵµ£º

Asp.NetÉèÖðó¶¨GridViewÖеĿؼþ

 1¡¢½çÃæ´úÂ룺         
  <asp:GridView ID="gridTemplateDetailList" runat="server"
                   AutoGenerateColumns="False"
  &nbs ......

asp.net×¢²áÓû§Í¨¹ýemailÓÊÏäÑéÖ¤µÄʵÏÖ·½Ê½

 public void SendSMTPEMail(string strSmtpServer, string strfrom, string strfromPass, string strto, string strSubject, string strBody)
{
System.Net.Mail.SmtpClient client = new SmtpClient(strSmtpServer);
client.UseDefaultCredentials = false;
client.Credentials = new System.Net.NetworkCre ......

asp.netÒ³ÉúÃüÖÜÆÚ

ÔÚasp.netÒ³ÔËÐУ¬´ËÒ³½«¾­ÀúÒ»¸öÉúÃüÖÜÆÚ£¬ÔÚÉúÃüÖÜÆÚÖн«Ö´ÐÐһϵÁд¦Àí²½Ö裬ÕâЩ²½Öè°üÀ¨£º³õʼ»¯£¬ÊµÀý»¯¿Ø¼þ£¬»¹Ô­ºÍά»¤×´Ì¬£¬ÔËÐÐʼþ´¦Àí³ÌÐò´úÂëÒÔ¼°½øÐгÊÏÖ£»
Ò»°ãÀ´ËµÒ³Òª¾­ÀúÒÔϵĸ÷¸ö½×¶Î£º
£¨1£©£ºÒ³ÇëÇó£ºÒ³ÇëÇó·¢ÉúÔÚÒ³ÉúÃüÖÜÆÚ¿ªÊ¼Ö®Ç°£¬Óû§ÇëÇóҳʱ£¬asp.net½«È·¶¨ÊÇ·ñÐèÒª·ÖÎöºÍ±àÒëÒ³£¨´Ó¶ø¿ªÊ¼Ò ......

asp.net 2.0 ÏÂµÄ±íµ¥ÑéÖ¤CookielessÊôÐÔ

ÔÚ²»Ö§³ÖCookiesµÄÒÆ¶¯É豸ģÄâÆ÷ÖÐÎÞ·¨Õý³£½øÐÐ±íµ¥ÑéÖ¤,ÁªÏëµ½×òÌìʹÓÃweb.configÉèÖÃcookielessÊôÐÔʱ»áÔÚ·ÃÎÊʱ»á³öÏÖ"Cannot use a leading .. to exit above the top directory"µÄÒì³£,×ÔÈ»¶øÈ»µÄÎÒ¾ÍÏëµ½ÁËǰһ¶Îʱ¼äÀ§ÈÅÎҺܾõÄÒ»¸öÕ¾µãÒì³£ÎÞ·¨Ê¹ÓÃǰµ¼ .. ÔÚ¶¥¼¶Ä¿Â¼ÉÏÍ˳ö(Cannot use a leading .. to exit abo ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ