摘要: 一、IList 现在我们直接创建一个List集合,然后绑定 二、Dictionary 不能直接绑定,需要借助类BindingSource才可以完成绑定 三、数据集 取值: 阅读全文
posted @ 2017-07-21 15:05 会弹猫的吉他 阅读(306) 评论(0) 推荐(0) 编辑
摘要: DateTime t1 = Convert.ToDateTime("2012-08-31"); DateTime t2 = Convert.ToDateTime("2017-07-31"); int day = Math.Abs(((TimeSpan)(t1 - t2)).Days); int year = day / 36... 阅读全文
posted @ 2017-07-21 11:04 会弹猫的吉他 阅读(132) 评论(0) 推荐(0) 编辑