自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(9)
  • 收藏
  • 关注

原创 上传图片到文件夹的方法

<br /> private string upfile()<br />        {<br />            try<br />            {<br />                String time = DateTime.Now.ToString();<br />                time = time.Replace("-", "");<br />                time = time.Replace(" ", "");<br />   

2010-11-03 16:00:00 646

原创 提取图片 及连接放到flash

<br />  public string js;<br />        protected void tupian()<br />        {<br />            FC.BLL.lianjie lianjie = new FC.BLL.lianjie();<br />            string str = "ftype='广告' and  fname='首页图片轮换' ";<br />            string strb = "fid desc";<br /> 

2010-11-03 15:54:00 305

原创 截取字符串的两个方法

<br /> public string GetContentSummary(string content, int length, bool StripHTML)<br />        {<br />            if (string.IsNullOrEmpty(content) || length == 0)<br />                return "";<br />            if (StripHTML)<br />            {<br />   

2010-11-03 15:51:00 298

原创 获取fck中的图片

<br /> public string fckEditorImg(string nt)<br />        {<br />            string ohtml = nt.ToString();<br />            System.Text.RegularExpressions.MatchCollection m;<br />            //提取字符串的图片<br />            m = Regex.Matches(ohtml, "(<img).*?>"

2010-11-03 15:47:00 291

原创 去除HTML标签

<br /> public static string RemoveHtml(string content)<br />        {<br />            return Regex.Replace(content, @"<[^>]*>", string.Empty, RegexOptions.IgnoreCase);<br />        }

2010-11-03 15:42:00 192

原创 去除HTML标签

<br /> public static string RemoveHtml(string content)<br />        {<br />            return Regex.Replace(content, @"<[^>]*>", string.Empty, RegexOptions.IgnoreCase);<br />        }

2010-11-03 15:41:00 220

原创 aspnetpager

<br />//列举其中两个方法<br />//方法一<br />//后台程序<br />using System;<br />using System.Data;<br />using System.Configuration;<br />using System.Collections;<br />using System.Web;<br />using System.Web.Security;<br />using System.Web.UI;<br />using System.Web.UI.Web

2010-11-03 15:37:00 312

原创 显示 年月日 星期几 农历的方法

<br />using System;<br />using System.Collections.Generic;<br />using System.Linq;<br />using System.Web;<br />using System.Web.UI;<br />using System.Web.UI.WebControls;<br />using System.Globalization;<br />using System.Data.SqlClient;<br />using System.N

2010-11-03 15:33:00 1014

原创 及时天气预报

<br />http://www.chxun.com/weather/code/index.html<br /> <br /> <br /> <br /> <br /> <iframe src="http://m.weather.com.cn/m/pn6/weather.htm?id=101090101T " height="20" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no" st

2010-11-03 15:26:00 265

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除