Export Datagridview to CSV

Ask questions about creating Graphical User Interfaces (GUI) in PowerShell and using WinForms controls.
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.
User avatar
Posts: 13175
Joined: Tue May 22, 2007 9:57 am

Re: Export Datagridview to CSV

Post by jvierra » Fri Nov 16, 2018 4:12 pm

Here is an example of an incremental load.
(11.74 KiB) Downloaded 17 times

User avatar
Posts: 19
Joined: Tue Jun 19, 2018 10:19 am

Re: Export Datagridview to CSV

Post by raphaelgj » Fri Nov 16, 2018 4:17 pm

jvierra wrote:
Fri Nov 16, 2018 4:10 pm
Just add rows to the DataTable as you need. Once bound to the grid they will show automatically. I have used a grid for a dynamic logger and to dynamically display the results of a job as they arrived.
Ah, true. I don't need refresh. So it's the right way then?