摘要: 在用C#作开发的时候经常要把DataTable转换成IList;操作DataTable比较麻烦,把DataTable转换成IList,以对象实体作为IList的元素,操作起来就非常方便。注意:实体的属性必须和数据库中的字段必须一一对应,或者数据库字段名.ToLower().Contains(实体属性名.ToLower()) 数据类型暂时至支持int、string、DateTime、float、doubleusing System;using System.Collections;using System.Collections.Generic;using System.Data;using S 阅读全文
posted @ 2013-08-08 11:42 立伟 阅读(3479) 评论(0) 推荐(0) 编辑
摘要: http://net.itcast.cn/net/video.shtml 阅读全文
posted @ 2013-08-08 09:01 立伟 阅读(258) 评论(0) 推荐(0) 编辑