DataTableTool.cs 430 B

1234567891011121314151617181920
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Data;
  4. using System.Linq;
  5. using System.Text;
  6. namespace Azylee.Core.DataUtils.DataTableUtils
  7. {
  8. public class DataTableTool
  9. {
  10. public static bool Ok(DataTable table)
  11. {
  12. if (table != null && table.Rows != null && table.Rows.Count > 0)
  13. {
  14. return true;
  15. }
  16. return false;
  17. }
  18. }
  19. }