Search found 9 matches
- Thu Feb 11, 2016 4:58 pm
- Forum: PowerShell GUIs
- Topic: Can't get datagrid to export to CSV
- Replies: 18
- Views: 9602
Re: Can't get datagrid to export to CSV
I'll have to play around with that datatable. That looks like probably what I should've been doing. I'll do some playing around with that tomorrow. But definitely looks like what I need to learn. Super new to this Thank you!
- Thu Feb 11, 2016 2:14 pm
- Forum: PowerShell GUIs
- Topic: Can't get datagrid to export to CSV
- Replies: 18
- Views: 9602
Re: Can't get datagrid to export to CSV
That still didn't make sense to me, not seeing how to add data to the object. But figured out another way (probably much more complicated :) ) Here is button to ExportToCSV and function that loads it into a CSV for anyone else who is wondering: #button to Export to CSV $buttonExportToCSV_Click = { #...
- Thu Feb 11, 2016 7:39 am
- Forum: PowerShell GUIs
- Topic: Can't get datagrid to export to CSV
- Replies: 18
- Views: 9602
Re: Can't get datagrid to export to CSV
Yep, that is the example I had questioned about... Here is what I was questioning again:
WEAVER84 wrote:I'm not seeing in your example how you are, as you just said I need to do, use objects and update the data in an underlying dataset.
- Thu Feb 11, 2016 7:14 am
- Forum: PowerShell GUIs
- Topic: Can't get datagrid to export to CSV
- Replies: 18
- Views: 9602
Re: Can't get datagrid to export to CSV
I'm not seeing in your example how you are, as you just said I need to do, use objects and update the data in an underlying dataset.
- Thu Feb 11, 2016 6:18 am
- Forum: PowerShell GUIs
- Topic: Can't get datagrid to export to CSV
- Replies: 18
- Views: 9602
Re: Can't get datagrid to export to CSV
I was thinking it wasn't saving somewhere that's why it wasn't working... Is there an easy example of how that is supposed to be done somewhere? Otherwise I can always search around google to see what I can find.
Thanks
Thanks
- Wed Feb 10, 2016 6:05 pm
- Forum: PowerShell GUIs
- Topic: Can't get datagrid to export to CSV
- Replies: 18
- Views: 9602
Re: Can't get datagrid to export to CSV
$datagridview.rows.add("randomstuff", "morerandomstuff")jvierra wrote:How are you loading the grid?
- Wed Feb 10, 2016 2:41 pm
- Forum: PowerShell GUIs
- Topic: Can't get datagrid to export to CSV
- Replies: 18
- Views: 9602
Re: Can't get datagrid to export to CSV
I'm going to have to play around more this tomorrow. Can't seem to get it working with that information. But in your example, when the form loads I should load a file? I'm wanting to create a new file though. Didn't understand that part. I'll let you know what I come across tomorrow morning when I h...
- Wed Feb 10, 2016 2:18 pm
- Forum: PowerShell GUIs
- Topic: Can't get datagrid to export to CSV
- Replies: 18
- Views: 9602
Re: Can't get datagrid to export to CSV
When I use that it just gives me a blank CSV file unfortunately
- Wed Feb 10, 2016 1:58 pm
- Forum: PowerShell GUIs
- Topic: Can't get datagrid to export to CSV
- Replies: 18
- Views: 9602
Can't get datagrid to export to CSV
Hello, So I can get the datagrid to display everything I want and how I want, but just can't seem to get it to export the information. It will save a CSV in the location I tell it to, just won't display the data from the datagrid into the CSV... Attached is my PSF file. I'm really new at using Power...