摘要: 阅读全文
posted @ 2013-09-11 12:18 iisp 阅读(238) 评论(0) 推荐(0) 编辑
摘要: 百度编辑器的应用在.net中的时候,提交或者保存的按钮是不能用LinkButton 按钮的,出现的问题是,取到值是空值。用button或者ImageButton都可以。 阅读全文
posted @ 2013-09-06 22:07 iisp 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 原文出处:http://www.codefans.net/jscss/code/513.shtml等比例缩放图片 阅读全文
posted @ 2013-07-23 23:39 iisp 阅读(228) 评论(0) 推荐(0) 编辑
摘要: 原文地址:http://blog.sina.com.cn/s/blog_554b37fc0100uofb.html报错:access to the path is denied原来是因为在该文件的上级文件夹没有修改权限,也就是说,那个user用户没有修改的权限 阅读全文
posted @ 2013-07-19 16:15 iisp 阅读(273) 评论(0) 推荐(0) 编辑
摘要: 一个页面接受另一个页面的传递过来的参数, protected int id { get { return string.IsNullOrEmpty(Request.QueryString["id"]) ? 0 : Convert.ToInt32(Request.QueryString["id"]); } } protected int AdID { get { int adID; int.TryPa... 阅读全文
posted @ 2012-11-23 21:24 iisp 阅读(126) 评论(0) 推荐(0) 编辑
摘要: Asp.net(C#)-数据绑定格式化(转)用法举例:<%# Eval("addtime","{0:yyyy-MM-dd}") %>DataFormatString="{0:格式字符串}"1、时间格式化:{0:yyyy-MM-dd}2、格式数字字符串 输入 结果"{0:C}" 12345.6789 $12,345.68"{0:C}" -12345.6789 ($12,345.68)"{0:D}" 12345 12345"{0:D8}" 1234 阅读全文
posted @ 2012-11-20 21:34 iisp 阅读(246) 评论(0) 推荐(0) 编辑
摘要: 用asp.net 插入access数据库时,出现如题的问题.原因:1.使用OleDbCommand来执行带参数的SQL命令时,参数不是按名称来引用的,而是按参数在SQL中出现的位置顺序来引用的。2.时间类型插入时要用childParam[0].Value = runTimeList[i].NextRunTime.ToString("yyyy-MM-dd hh:mm:ss");这样的方式来插入才行.转载自:泊来阳光的BLOGhttp://blog.sina.com.cn/s/blog_3e6d72980100fwuh.html 阅读全文
posted @ 2012-11-08 23:36 iisp 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 这个问题的产生是由于有 用户控件的备份副本 存在于同一个文件夹夹下,把 备份的副本文件 的删除掉再生成就好了。。。 阅读全文
posted @ 2012-11-05 14:30 iisp 阅读(244) 评论(0) 推荐(0) 编辑
摘要: #region 取出被正则表达式匹配的值 //string str = "100,101"; //MatchCollection matches = Regex.Matches(str, @"(\d+)"); //string abc = ""; //foreach (Group match in matches) //{ // abc += match + ","; //} //Response.Write(ab... 阅读全文
posted @ 2012-09-27 08:53 iisp 阅读(398) 评论(0) 推荐(0) 编辑
摘要: 有些旧项目运行于win 7系统上时,fckeditor 上传图片失效了所以就找到了他的升级版本,ckeditor 。可是ckeditor 里面没有上传图片和文件盒flash的功能,想要他有上传的功能呢,还需要找个帮手,ckfinder,ckeditor 里面的上传功能就是靠的它。下载了这两个东西,1 首先这两个文件夹解压,放到项目里面。2 配置ckeditor 里面的config.js config.filebrowserImageBrowseUrl = '/ckfinder/ckfinder.html?Type=Images'; //上传图片时浏览服务文件夹 config.f 阅读全文
posted @ 2012-09-26 22:30 iisp 阅读(208) 评论(0) 推荐(0) 编辑