摘要前几篇文章,我都没有详细讲解Data Provider核心对象,因为我希望在讲解这些对象之前,让大家对一些基础的概念有很好的认识。在上一篇文章《你必须知道的ADO.NET(三) 连接字符串,你小觑了吗》中,我详细讲解了连接字符串,相信大家都和我一样意识到它的重要性了。如果说连接字符串是打开数据源...
分类:
Web程序 时间:
2014-10-13 19:12:51
阅读次数:
220
connection对象处于最顶层,是所有数据请求的关口数据库连接过程SqlConnection theConnection = new SqlConnection(); //创建一个connection的对象实例 theConnection.Connec...
分类:
Web程序 时间:
2014-10-13 16:04:09
阅读次数:
207
转载自51CTO http://developer.51cto.com/art/201006/207768.htm 51CTO曾经为我们简单的介绍过Java连接池。要了解Java连接池我们先要了解数据库连接池(connection pool)的原理,Java连接池正是数据库连接池在Java上的应用。...
分类:
编程语言 时间:
2014-10-13 13:38:19
阅读次数:
172
内容过滤选择器根据元素中的文字内容或所包含的子元素特征获取元素,其文字类容可以模糊或绝对匹配进行元素定位,其详细说明如表:选择器功能返回值:contains(text)获取包含给定文本的元素元素集合:empty获取所有不包含子元素或者文本的空元素元素集合:has(selector)获取含有选择器所匹...
分类:
其他好文 时间:
2014-10-13 13:36:09
阅读次数:
148
Unix Disk I/O Benchmarksfio- NEW!fio is an I/O tool meant to be used both for benchmark and stress/hardware verification. It has support for 13 differ...
分类:
其他好文 时间:
2014-10-13 12:54:49
阅读次数:
552
浏览器和服务器在建立http连接的时候 需要3次握手,在高并发的环境下每一次建立连接都3次握手会消耗太多的服务资源,这个本质上是由于http是无状态造成的.http1.0默认开启了connection=close?模式意味着服务...
分类:
其他好文 时间:
2014-10-13 11:52:19
阅读次数:
169
Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum.Fo...
分类:
编程语言 时间:
2014-10-13 03:11:58
阅读次数:
257
使用apxs安装apache模块
-——by石锅拌饭
1.缘由
前几天迁移系统,发现配置了fastcgi的一个脚本下载文件总是提示类似Connection reset by peer:FastCGI错误,后来发现应该是下载文件时间超过了fastcgi指定的idle-timeout导致的,默认这个时间是30秒,文件太大就容易超时。为了解决这个问题,于是把...
分类:
Web程序 时间:
2014-10-13 02:24:49
阅读次数:
208
A multi-processor, multi-cache system has filter pipes that store entries for request messages sent to a central coherency controller. The central coh...
分类:
系统相关 时间:
2014-10-12 23:44:38
阅读次数:
377
Find the contiguous subarray within an array (containing at least one number) which has the largest product.For example, given the array[2,3,-2,4],the...
分类:
其他好文 时间:
2014-10-12 17:19:08
阅读次数:
209