摘要: const int WM_PARENTNOTIFY = 0x210; const int WM_LBUTTONDOWN = 0x201; protected override void WndProc(ref Message m) { if (m.Msg == WM_LBUTTONDOWN || ( 阅读全文
posted @ 2017-06-19 14:36 jep 阅读(222) 评论(2) 推荐(0)
摘要: public DataTable IListOut(IList<excelModel> _list) { DataTable dtReturn = new DataTable(); PropertyInfo[] oProps = null; foreach (excelModel rec in _l 阅读全文
posted @ 2017-06-19 14:02 jep 阅读(113) 评论(0) 推荐(0)
摘要: public class ConvertHelper<T> where T : new() { public static IList<T> ConvertToModel(DataTable dt) { // 定义集合 IList<T> ts = new List<T>(); // 获得此模型的类型 阅读全文
posted @ 2017-06-19 14:01 jep 阅读(139) 评论(0) 推荐(0)