update 20241107
This commit is contained in:
1 parent
86be28ec33
commit
23a308ad73
65 files changed
+759
-55
No files matched your search
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user