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)
{
Ïà¹ØÎĵµ£º
-----MD5¼ÓÃÜ
//ʹÓüÓÃÜ·þÎñÌṩ³ÌÐò(CSP) ÌṩµÄʵÏÖ£¬¼ÆËãÊäÈëÊý¾ÝµÄMD5 ¹þÏ£Öµ
MD5CryptoServiceProvider crypto = new MD5CryptoServiceProvider();
//½«×Ö·û´®× ......
TinyMCE ÔÚAsp.NetÖеÄʹÓ÷½·¨Æäʵͦ¼òµ¥µÄ£¬´Ó¹Ù·½ÍøÕ¾ÏÂÔØTinyMCE),È»ºó½«ÀïÃæµÄjscriptsĿ¼¿½µ½ÄãµÄÍøÕ¾Ä¿Â¼
¼ÙÉèÄãµÄaspxÒ³ÃæÖÐijһ¸öµØ·½ÐèÒªÓõ½±à¼Æ÷£¬Ôò¼ÓÈë
<asp:TextBox ID=”brand” TextMode=”MultiLine” runat=”server” />
²¢Í¬Ê±ÔÚheaderÀï¼ÓÈ룺
<script ......
1¡¢½çÃæ´úÂ룺
<asp:GridView ID="gridTemplateDetailList" runat="server"
AutoGenerateColumns="False"
&nbs ......
2010-01-25 14:24
40ÌõASP.NET¿ª·¢Tip
×÷Õߣº÷è÷ë À´Ô´£º²©¿ÍÔ° ·¢²¼Ê±¼ä£º2010-01-21 13:16 ÔĶÁ£º287 ´Î ÔÎÄÁ´½Ó [ÊÕ²Ø]
1¡¢ÔÚcompilation Ï£¬ÇëÉèÖÃdebug=false £¬ÈçÏ£º
default Language="c#" debug="false">
2¡¢ÇëʹÓÃServer.Tran ......