update 20241107

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

No files matched your search

+6 -1
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;
}
}
}