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: 14475
Joined: Tue May 22, 2007 9:57 am
Contact:

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

Post by jvierra »

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 296 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 »

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: 14475
Joined: Tue May 22, 2007 9:57 am
Contact:

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

Post by jvierra »

Hah! Buy me a beer sometime. :roll:

Locked