C# DataTable扩展方法
2021-07-14 18:16
阅读:539
标签:总结 als class null row tab false note code
在日常搬砖中,总结了一些简单的扩展方法。
public static bool IsNullOrEmpty(this DataTable dt) { return dt == null || dt.Rows.Count 0; } public static bool IsNotEmpty(this DataTable dt) { return dt.IsNullOrEmpty() == false; }
C# DataTable扩展方法
标签:总结 als class null row tab false note code
原文地址:https://www.cnblogs.com/kikyoqiang/p/9533393.html
上一篇:API+RESTful
下一篇:C#基本语法
评论
亲,登录后才可以留言!