随笔分类 -  C#

Access数据库连接池
摘要:Access数据库没有数据库连接池,每次打开和关闭数据库时都非常耗时,自己编写了一个简易的数据库连接池,添加数据库类型还可支持其他没有数据库连接池的数据库类型。该数据库连接池要求必须更改web.config中的数据库连接字符串,添加Max Pool Size及Connect Timeout两个属性,如:<add name="AccessConnectString" connectionStr... 阅读全文
posted @ 2008-09-10 15:35 默默ASP.NET 阅读(4905) 评论(5) 推荐(0)
ASP.NET针对Sybase数据库使用分页技术
摘要:ASP.NET针对Sybase数据库使用分页技术在编写一个通用数据库操作接口的分页查询时,发现MS SQL Server、Oracle、MySql、Access等数据库都有分页查询语句,只有Sybase没有,如果用AseDataAdapter.Fill(dataSet, startRowIndex, maximumRows, "item")方法实现,实际上还是将数据库的所有记录返回的,这样在数据量... 阅读全文
posted @ 2008-07-02 16:13 默默ASP.NET 阅读(1853) 评论(0) 推荐(0)
C# 3.0 New Language Features (Part 2)
摘要:By Mony Hamza 摘至http://www.codeproject.com Introduction In the previous article, I illustrated some of the C# 3.0 new language and compiler features. I'll illustrate the rest of the features ... 阅读全文
posted @ 2008-01-31 12:23 默默ASP.NET 阅读(251) 评论(0) 推荐(0)
C# 3.0 New Language Features (Part 1)
摘要:By Mony Hamza 摘至http://www.codeproject.com Introduction Well, in this article I'll illustrate some of the C# 3.0 new language and compiler features and I'll illustrate the rest of the featu... 阅读全文
posted @ 2008-01-31 12:20 默默ASP.NET 阅读(274) 评论(0) 推荐(0)