public string NoHTML(string Htmlstring) //È¥³ýHTML±ê¼Ç
{
//ɾ³ý½Å±¾
Htmlstring = Regex.Replace(Htmlstring, @" <mce:script[^><!--
]*?>.*?
// --></mce:script>", "", RegexOptions.IgnoreCase);
//ɾ³ýHTML
Htmlstring = Regex.Replace(Htmlstring, @" <(.[^>]*)>", "", RegexOptions.IgnoreCase);
Htmlstring = Regex.Replace(Htmlstring, @"([\r\n])[\s]+", "", RegexOptions.IgnoreCase);
Htmlstring = Regex.Replace(Htmlstring, @"-->", "", RegexOptions.IgnoreCase);
Htmlstring = Regex.Replace(Htmlstring, @" <!--.*", "", RegexOptions.IgnoreCase);
Htmlstring = Regex.Replace(Htmlstring, @"&(quot|#34);", "\"", RegexOptions.IgnoreCase);
Htmlstring = Regex.Replace(Htmlstring, @"&(amp|#38);", "&", RegexOptions.IgnoreCase);
Htmlstring = Regex.Replace(Htmlstring, @"&(lt|#60);", " <", RegexOptions.IgnoreCase);
Htmlstring = Regex.Replace(Htmlstring, @"&(gt|#62);", ">", RegexOptions.IgnoreCase);
Htmlstring = Regex.Replace(Htmlstring, @"&(nbsp|#160);", " ", RegexOptions.IgnoreCase);
Htmlstring = Regex.Replace(Htmlstring, @"&(iexcl|#161);", "\xa1", RegexOptions.IgnoreCase);
Htmlstring = Regex.Replace(Htmlstring, @"&(cent|#162);", "\xa2", RegexOptions.IgnoreCase);
Htmlstring = Regex.Replace(Htmlstring, @"&(pound|#163);", "\xa3", RegexOptions.IgnoreCase);
Htmlstring = Regex.Replace(Htmlstring, @"&(copy|#169);", "\xa9", RegexOptions.IgnoreCase);
Htmlstring = Regex.Replace(Htmlstring, @"&#(\d+);", "", RegexOptions.IgnoreCase);
Htmlstring.Replace(" &l
ÒÔÏ´úÂë ʹÓÃ.net FtpWebRequest ʵÏÖFTPµÄ³£Óù¦ÄÜ£¬ ´úÂëÒѾµ÷ÊÔͨ¹ý£¬ ¿É¸´ÖÆÖ±½ÓʹÓᣠ¾²âÊÔʹÓôËÖÖ·½Ê½ÊµÏÖµÄFTP²Ù×÷ÓëÖ±½ÓʹÓÃÃüÁîµÄ·½Ê½²Ù×÷FTPÒªÎȶ¨Ðí¶à¡£ ÓÐÉè¼Æ²»ºÃµÄµØ·½ÇëÖ¸Õý¡£
using System;
RYWo})E[3K Tg0using System.Collections.Generic;
}k'LQ BB-_d0using System.Text;ITPUB ......
ÓÃasp.net²Ù×÷excelµÄʵÏÖ´úÂ룬һֱ¶¼ÊDZ¾ÈËËùϲ»¶µÄ£¬´ÓÍøÉÏËÑÁËÏÂASP.NET ExcelÕÒµ½ÁËÕâÆªºÃÎÄÕÂ
Ïêϸ³ö´¦²Î¿¼£ºhttp://www.jb51.net/article/13629.htm
ExcelÊÇMicrosoft¹«Ë¾µÄOfficeÌ×¼þÖеÄÒ»ÖÖÈí¼þ£¬ËûÖ÷ÒªÓÃÀ´´¦Àíµç×Ó±í¸ñ¡£ExcelÒÔ½çÃæÓѺᢴ¦ÀíÊý¾ÝѸËÙµÈÓŵã»ñµÃ¹ã´ó°ì¹«ÈËÔ±µÄ»¶Ó¡£ËùÒԺܶàÎĵµ¾ÍÒÔExcelµÄ ......