- 博客(6)
- 问答 (2)
- 收藏
- 关注
原创 带注释SQL文
环境SQL SERVER2005,VS2008通过SqlDataReader执行如下SQL文取数据:-----------------------------------select * from [AAA ]--注释-----------------------------------reader中属性HasRows==false,FieldCount==0。循环取
2009-08-25 16:02:00 294
原创 Clone对象方法
最近在CSLA.Net上发现的克隆对象方法,还没有仔细研究,等有空再说吧。。。哈哈哈 public static object Clone(object obj) { using (MemoryStream buffer = new MemoryStream()) { BinaryFo
2008-06-13 17:41:00 304
原创 TCP/IP Protocols
摘自: http://www.w3schools.comTCP - Transmission Control ProtocolTCP is used for transmission of data from an application to the network.TCP is responsible for breaking data down into IP packets
2008-02-03 16:07:00 524
原创 DataColumn 与Xml data type转换。
下面代码通过反射System.Data程序集得到 internal static string XmlDataTypeName(Type type){ if (type == typeof(char)) { return "_"; } if ((type == typeo
2008-01-16 23:22:00 410
原创 Access 奇怪问题
遇到个奇怪的问题,没有搞明白是什么原因,当通过OledbDataReader取Access数据库表结构时,竟然能取到表中不存在的字段信息。在这里应该产生个异常才对......... table1 中只有一个字段 id。 DbCommand command=...................; command.CommandText =
2007-12-28 10:47:00 325
原创 SysBase DbDataReader关闭问题
在做项目的过程中遇到一个问题,DataReader竟然无法关闭......... DbCommand command=..................; DbDataReader reader = null; DataTable dtFields = null; try
2007-12-28 10:40:00 493
空空如也
web3d盒子 用什么技术实现
2016-02-23
chrome div滚动条不能自动滚动
2015-12-08
TA创建的收藏夹 TA关注的收藏夹
TA关注的人