Horje
dataset empty check C# Code Example
dataset empty check C#
// using extension method
public static class ExtensionMethods {
  public static bool IsEmpty(this DataSet dataSet) {
    return dataSet == null ||
      !(from DataTable t in dataSet.Tables where t.Rows.Count > 0 select t).Any();
    }
  }




Csharp

Related
csharp get decimal part of number Code Example csharp get decimal part of number Code Example
c# convert list to string and back Code Example c# convert list to string and back Code Example
c# new dictionary linq Code Example c# new dictionary linq Code Example
cant see my classes in inspector Code Example cant see my classes in inspector Code Example
wpf binding ancestor codebehind Code Example wpf binding ancestor codebehind Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
12