09 2020 档案
摘要:public class TimeTool { //根据出生年月计算 整数天 private static int GetAgeByBirthdate(DateTime birthdate) { DateTime now = DateTime.Now; int age = now.Year - bi
阅读全文
摘要: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
阅读全文