摘要: Asp.Net 2.0 中5个数据源控件,GridView,DataList,Repeator ,DetailsView,FormView其中前3个用于呈现多列数据,后面2个用于呈现单列数据,即常用的数据明细.GridView和DetailsView控件的布局固定,自定义数据显示的布局功能有限,一般适合布局简单的数据呈现DataList,Repeator和FormView数据控件都有很强的自定义布局能力,如果数据呈现需要较为复杂的布局方案,这3个控件是首选 GridView ,DetailsView和FormView都是2.0版本新增控件,内置了分页,排序等等功能,其改进程度是1.1所提供控件 阅读全文
posted @ 2010-04-22 18:32 程序员天下 阅读(207) 评论(0) 推荐(0) 编辑
摘要: 1. 安装Nginx和Tomcat,这里假定nginx-0.7.65,Tomcat6.x。(Nginx可以从http://nginx.org/en/download.html下载)安装Nginx# ./configure# make# make install在这里假定Nginx安装在nginxhost,tomcat分别安装在tomcathost1和tomcathost2上;2. 修改/usr/local/nginx/conf/nginx.conf文件, http { ... upstream myhost { server tomcathost1:8080 weigh... 阅读全文
posted @ 2010-04-22 15:34 程序员天下 阅读(255) 评论(0) 推荐(0) 编辑
摘要: 1. 安装Nginx和Tomcat,这里假定nginx-0.7.65,Tomcat6.x。Nginx可以从http://nginx.org/en/download.html下载。# ./configure# make# make install安装完毕后,默认nginx安装在/usr/local/nginx/目录下,启动命令是/usr/local/nginx/sbin/nginx,默认配置文件是/usr/local/nginx/conf/nginx.conf。安装完毕后可以使用以下命令来检查配置文件正确性# /usr/local/nginx/sbin/nginx -t使用以下命令启动Nginx 阅读全文
posted @ 2010-04-22 15:32 程序员天下 阅读(146) 评论(0) 推荐(0) 编辑