What kind of objects are returned by this command? Is it a PowerShell script that returns objects? If you just create the DGV in the designer it can be reloaded using the method I posted from any correct collection of objects.
See the attached demo to see how this works.
clearing data in a datagridview without exiting form
Forum rules
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Re: clearing data in a datagridview without exiting form
- Attachments
-
- Delm-DGVClear.psf
- (28.85 KiB) Downloaded 114 times
- jsira2003@yahoo.com
- Posts: 117
- Last visit: Tue Jul 11, 2023 6:18 am
Re: clearing data in a datagridview without exiting form
The object returned is a system.collections.arraylist. I figure this is perfect for the datagridview. I am going to give all of this a try soon. Hope I have better success!
thank you,
John
thank you,
John