Bind data to a datagridview datasource removes the row header

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.
jvierra
Posts: 14016
Joined: Tue May 22, 2007 9:57 am
Contact:

Re: Bind data to a datagridview datasource removes the row header

Post by jvierra » Thu Nov 21, 2019 2:47 pm

With a couple of clicks we can do this:
Annotation 2019-11-21 164603.png
Annotation 2019-11-21 164603.png (11.11 KiB) Viewed 102 times

pjbuckley
Posts: 31
Joined: Tue Nov 05, 2019 3:44 pm

Re: Bind data to a datagridview datasource removes the row header

Post by pjbuckley » Thu Nov 21, 2019 4:32 pm

Wow! That's sexy. I went full "ham" in my code to get what you have going on there.
You just saved me. Is there a tip jar? :D

jvierra
Posts: 14016
Joined: Tue May 22, 2007 9:57 am
Contact:

Re: Bind data to a datagridview datasource removes the row header

Post by jvierra » Thu Nov 21, 2019 5:43 pm

Hah! Buy me a beer sometime. :roll:

Post Reply