会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
百默
博客园
首页
新随笔
联系
订阅
管理
1
2
3
4
5
下一页
2014年11月4日
dos命令安装asp.net站点
摘要: ::创建站点cd /d %systemroot%\system32\Inetsrv\appcmd add site /name:chm /bindings:"http/*:8086:" /physicalPath:F:\WebSite::创建应用程序池appcmd add apppool /name...
阅读全文
posted @ 2014-11-04 20:30 zhushang
阅读(312)
评论(0)
推荐(0)
2014年9月22日
Ext 树 绑定本地文件目录
摘要: public ActionResult GetTreeData() { DirectoryInfo dir = new DirectoryInfo("d://"); Dir dirList = GetTreeJson(dir);...
阅读全文
posted @ 2014-09-22 20:02 zhushang
阅读(237)
评论(0)
推荐(0)
2014年9月11日
c#获取Attribute设置的值
摘要: 1, public class Model { [Test(Name="zhu")] public string Id { get; set; } }2, public class TestAttribute : Attribute { ...
阅读全文
posted @ 2014-09-11 17:21 zhushang
阅读(1920)
评论(0)
推荐(0)
2014年5月27日
asp.net前台用后台变量
摘要: 1:ViewState传值ViewState["key"] = "value"; 2:声明变量为protect public
阅读全文
posted @ 2014-05-27 09:12 zhushang
阅读(143)
评论(0)
推荐(0)
2014年5月13日
Uncaught SyntaxError: Unexpected token <
摘要: 这种异常 分为两种情况1 js中有错误2 服务端错误 返回 的 数据错误 导致js运行错误
阅读全文
posted @ 2014-05-13 13:50 zhushang
阅读(702)
评论(0)
推荐(0)
2014年5月8日
网页禁用鼠标右键和复制功能兼容方式
摘要:
阅读全文
posted @ 2014-05-08 15:51 zhushang
阅读(160)
评论(0)
推荐(0)
2014年4月23日
asp.net session 原理
摘要: Session天天用,但是你真的理解了么?今天遇到了这个问题,于是研究了一下。要解决这个问题,首先就要明白一些Session的机理。Session在服务器是以散列表形式存在的,我们都知道Session是会话级的,每个用户访问都会生成一个Session。那么服务器是怎么区分不同用户的Session?又...
阅读全文
posted @ 2014-04-23 14:19 zhushang
阅读(1714)
评论(0)
推荐(0)
2014年4月22日
An item with the same key has already been added.
摘要: 这个错误时 键值 重复所致有可能是字典里的键重复也可能是数据库取出的字段重复
阅读全文
posted @ 2014-04-22 11:38 zhushang
阅读(5384)
评论(0)
推荐(0)
2014年4月17日
asp.net 使用数据缓存
摘要: 对于一些经常使用而又不经常变更的数据,可以是有数据缓存,以提高效率缓存类 /// ///Web缓存操作类 /// public static class CacheHelper { // 添加一个缓存 public static voi...
阅读全文
posted @ 2014-04-17 15:18 zhushang
阅读(297)
评论(0)
推荐(0)
方法效率测试工具
摘要: using System;using System.Diagnostics;using System.Threading;using System.Runtime.InteropServices;namespace Common{ /// /// 方法效率测试工具类 /// ...
阅读全文
posted @ 2014-04-17 14:43 zhushang
阅读(250)
评论(0)
推荐(0)
1
2
3
4
5
下一页
公告