update 20241107

This commit is contained in:
Stefan Hutter
2024-11-07 22:35:24 +01:00
parent 86be28ec33
commit 23a308ad73
65 changed files with 759 additions and 55 deletions

View File

@@ -85,6 +85,11 @@ namespace OnDoc.Helper
}
catch { return ""; }
}
public static DataTable resort(DataTable dt, string colName, string direction)
{
dt.DefaultView.Sort = colName + " " + direction;
dt = dt.DefaultView.ToTable();
return dt;
}
}
}