09 2020 档案

摘要:public class TimeTool { //根据出生年月计算 整数天 private static int GetAgeByBirthdate(DateTime birthdate) { DateTime now = DateTime.Now; int age = now.Year - bi 阅读全文
posted @ 2020-09-21 18:29 jevan 阅读(235) 评论(0) 推荐(0) 编辑
摘要:public static List<T> TableToEntitys<T>(DataTable dt) where T : class, new() { // 定义集合 List<T> ts = new List<T>(); if (dt != null && dt.Rows.Count > 0 阅读全文
posted @ 2020-09-02 18:09 jevan 阅读(215) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示