- 博客(6)
- 资源 (1)
- 收藏
- 关注
转载 C#去除HTML标签
public static string ReplaceHtmlTag(string html, int length = 0){ string strText = System.Text.RegularExpressions.Regex.Replace(html, "]+>", ""); strText = System.Text.RegularExpressions.Rege
2017-07-17 09:30:01
300
原创 控件被封装,强行调用WebbUpload_BeginRequest方法
最近做一个上传视频的功能,结果上传控件FileUpload被之前维护的人强行封装了_BeginRequest事件,不想用之前的方法,很苦逼,终于在网上找到了一个方法可以跳过…
2017-06-29 09:33:43
276
转载 上传视频并截取缩略图
最近做一个上传视频并且截取缩略图的功能,百度了一下好像都是上传视频之后使用ffmpeg进行截图,自己尝试了一下,很方便 原帖:http://blog.youkuaiyun.com/mqplw/article/details/43675093 ffmpeg官方下载地址:http://ffmpeg.zeranoe.com/builds/
2017-06-27 11:43:40
1743
原创 c# 连接访问数据库
先构建实体类public class UserInfo { public int username { get; set; } public string password { get; set; } }拼接sql语句protected UserInfo user = new UserInfo(); public obl
2017-06-22 13:09:39
215
原创 c# 用application获取访问量
在网站根目录下 Global.asax protected void Application_Start(Object sender, EventArgs e) { // 在应用程序启动时运行的代码 //总访问量 Application["CurrentUserCount"] = 0; //
2017-06-22 09:34:06
1038
原创 常用样式
尝试整理一下a标签cssa:link,a:visited{text-decoration:none;color:#76ABDE;}a:hover,a:active{text-decoration:underline;color:#f60;}jq $(function () { $(".left tr").bind("mou
2017-06-14 11:30:03
173
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人