Click here to Skip to main content
15,902,876 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Hi Evryone

I want to have listbox in specific column cells in a dataGridview

why I'm doing that ?

because I have a xml structure which some of it's parameters have multiple values

and why I don't use multi line text for each cell instead ?
because each value has an other related value which is hidden from user and I want to use listbox valueMeber for that

What I have tried:

Multiline text in Gridview:
winforms - C#: multiline text in DataGridView control - Stack Overflow[^]

trying to have a listbox in the following solution
but speaking frankly , I couldn't do that
Multiple controls in a single DataGridView cell[^]
Updated 25-Jan-17 23:17pm

1 solution

Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900