自己改写的MySqlHelper的类库

摘要: 自己改写的官方给的MySqlHelper的类库,用法就和SqlHelper类库基本一样。新增加了对GBK得支持。 阅读全文
posted @ 2005-08-07 16:41 雾里寻踪 阅读(3216) 评论(3) 推荐(0) 编辑

Why Create a DataSet, use a DataTable

摘要: This article asks the question, "Why do you create a whole DataSet when all you are using is a single DataTable?". Its a valid question because Ive seen it done over and over again. A DataSet is quite a large object when compared to a DataTable and we all know that performance and optimization is very important in todays application design and development. Of course, for optimum performance you should use a DataReader, but sometimes you have to use the DataTable. This How To demonstrates a built 阅读全文
posted @ 2005-06-21 14:07 雾里寻踪 阅读(717) 评论(0) 推荐(0) 编辑

Forms Authentication Against An XML File

摘要: Introduction This code shows how to validate against an XML file for Forms Authentication security in ASP.Net. Please read one of the earlier articles on Forms Authentication for an introduction and to see the required settings in the web.config file. 阅读全文
posted @ 2005-06-21 10:49 雾里寻踪 阅读(449) 评论(0) 推荐(0) 编辑

转一篇:是什么导致了业务人员和技术人员的矛盾?

摘要: 读了之后,身有感触。 阅读全文
posted @ 2005-06-17 15:27 雾里寻踪 阅读(1065) 评论(0) 推荐(0) 编辑

Adding Relationships to DataTables

摘要: Introduction We know that a DataSet is an in-memory replica of database. It can contain multiple DataTables just like a database. In addition you can also set relationship between the DataTables and navigate through the relationship. This article shows you how. 阅读全文
posted @ 2005-06-16 10:23 雾里寻踪 阅读(539) 评论(0) 推荐(0) 编辑

Creating Collection Classes in C#

摘要: Introduction Collection classes are used frequently in .NET. For example, classes like ArrayList, NamevalueCollection, HashTable are collection classes. One peculiar thing of collection classes is that they can be used in foreach(...) loop in C#. VB.NET has similar construct For...Each. Your custom classes can also be iterated in this way if you implement certain interfaces. In this article we will see how to code collection classes using C#. 阅读全文
posted @ 2005-06-16 10:16 雾里寻踪 阅读(588) 评论(0) 推荐(0) 编辑

ADO.NET 2.0 中的新增 DataSet 功能

摘要: DataSet(和 DataTable)的 ADO.Net 2.0 版本引入了大量新增功能以及对现有功能的增强。本文所讨论的主要功能包括:由于新的索引引擎和二进制序列化格式选项而显著改进的性能、可用于独立 DataTable 的大量功能,以及用于将缓存数据公开为流 (DataReader) 和将流数据加载到 DataTable 缓存的机制。ADO.NET 2.0 还提供了对 DataTable 中行状态的更强控制,以便更好地满足更多实际情况的需要。 阅读全文
posted @ 2005-05-16 08:24 雾里寻踪 阅读(1489) 评论(1) 推荐(0) 编辑

谁说雨中登泰山别有一番风味的????

摘要: 雨中登泰山,装备好了再去,不然就是受罪了~~~~ 阅读全文
posted @ 2005-05-08 12:56 雾里寻踪 阅读(753) 评论(1) 推荐(0) 编辑

SQLServer 2000中,存储过程和用户自定义函数具体的区别??

摘要: SQLServer 2000中,存储过程和用户自定义函数具体的区别?? 难道就是一些功能上的强弱区别(返回值类型和部分内部函数不能用)和用法的区别? 阅读全文
posted @ 2005-04-27 15:31 雾里寻踪 阅读(5866) 评论(3) 推荐(0) 编辑

缓存用户控件输出的多个版本

摘要: 就像可以改变已进行输出缓存的页的版本一样,您可以输出缓存具有用户控件的页的区域。通过根据控件的名称和 GET 查询字符串或窗体 POST 参数值,或只根据参数值改变用户控件输出,您可以完成该操作。通过在它所包含的 .aspx 文件中对用户控件进行多次声明,您也可以缓存页上用户控件的多个版本。 阅读全文
posted @ 2005-04-27 09:36 雾里寻踪 阅读(631) 评论(0) 推荐(0) 编辑