摘要: 做了一个封装,使页面更容易维护一些。主要是两个方法,如下所示: privatevoidBindModule(ActionbindSingRpt){BindControls(this,"List_",bindSingRpt);}privatevoidBindControls(Pagepage... 阅读全文
posted @ 2015-05-21 16:39 calochCN 阅读(145) 评论(0) 推荐(0)
摘要: 以前用flash做首页图片轮播。最近的网站里用到一个插件MyFocus插件焦点图插件用法如下: ">"thumb=""alt=""/> 使用起来很方便,使用上完全用ullist可以呈现,很方便。 阅读全文
posted @ 2015-05-21 16:21 calochCN 阅读(333) 评论(0) 推荐(0)
摘要: Service UnavailableHTTP Error 503. The service is unavailable.今天要布署一个网站,在自己的电脑上,结果碰到服务器503错误,找应用程序池的原因:最终找到解决方案:修改应用程序池的高级设置,然后选标识,选择用户为LocalSystem,如下... 阅读全文
posted @ 2015-05-21 09:26 calochCN 阅读(1140) 评论(0) 推荐(0)
摘要: using System;using System.Collections.Generic;using System.Configuration;using System.Data;using System.Data.Common;using System.Reflection;using Syst... 阅读全文
posted @ 2015-05-20 21:38 calochCN 阅读(513) 评论(1) 推荐(2)
摘要: .net framework中使用扩展方法,由网摘上看到,是因为编译器将扩展方法带上了ExtensionAttribute特性要在.net framework 2.0中使用的话,可以自定义一个特性:namespaceSystem.Runtime.CompilerServices{publicclas... 阅读全文
posted @ 2015-05-20 17:51 calochCN 阅读(462) 评论(0) 推荐(0)
摘要: usingSystem;usingSystem.Collections.Concurrent;usingSystem.Collections.Generic;usingSystem.Data;usingSystem.Linq;usingSystem.Net.NetworkInformation;us... 阅读全文
posted @ 2015-05-20 16:04 calochCN 阅读(319) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2015-05-18 20:58 calochCN 阅读(2) 评论(0) 推荐(0)
摘要: 虽然我有了vs的账号,也vs2013开始已经可以进行远端的账户管理了,可是vs的版控毕竟有些依赖vs,想想还是用git吧今天把这个环境的整套都弄地基本熟了。记录一下,算是一个小结。开始搭建系统框架 阅读全文
posted @ 2015-05-17 10:22 calochCN 阅读(149) 评论(1) 推荐(0)
摘要: 每次git clone 和push 都要输入用户名和密码。虽然安全,但在本机上每次都输有些麻烦,如何记住用户名和密码呢?当你配置好git后,在C:\Documents and Settings\Administrator\ 目录下有一个 .gitconfig 的文件,里面会有你先前配好的name 和... 阅读全文
posted @ 2015-05-17 10:15 calochCN 阅读(449) 评论(0) 推荐(0)
摘要: 接触git以来 ,开始时用了命令行,但是命令行总归不如图形化菜单方便明了,而GIT本身自带的GUI又用的不习惯,以前用过许久的TOTORISE SVN,幸好有TORTOISE GIT,这个版本图形化工具。安装了GIT,再安装TORTOISE GIT,界面就比较熟悉了。一直困扰了好几天,今天总算找到一... 阅读全文
posted @ 2015-05-17 09:55 calochCN 阅读(555) 评论(0) 推荐(0)