Datagridview |Fill colunm |keep the button

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.
This topic is 4 years and 9 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked
jcf53100
Posts: 3
Last visit: Wed Jun 12, 2019 11:31 am

Datagridview |Fill colunm |keep the button

Post by jcf53100 »

Hello all ,

I am stuck and I can't find the solution

I have this :
picture
picture
Capturem.PNG (8.12 KiB) Viewed 848 times

I have an excel file with some data
"DistinguishedName","GivenName",
"CN=Jule lacroix,CN=Users,DC=Test,DC=com","Jule"


I would like to fill the data like that :
DistinguishedName = column1
GivenName =column2


ConvertTo-DataTable create new column .

thank you for your help
jvierra
Posts: 15439
Last visit: Tue Nov 21, 2023 6:37 pm
Answers: 30
Has voted: 4 times
Been upvoted: 33 times

Re: Datagridview |Fill colunm |keep the button

Post by jvierra »

$DataGridView.DataSource = ConvertTo-DataTable $csv
This topic is 4 years and 9 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked