Question Locked

Datagridview with custom columns containing user defined control

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

How can I create a custom column in datagridview that displays data in a user control.
In the datagridview I have to show the Goal value and it corresponding Achieved value for each year.

ex:
| 2010 | 2011 | 2012
=================================
Earnings | T | $20K | $25K | $30K
| A | $18K | $26K | $29K
----------------------------------
Expenses | T | $10K | $10K | $10K
| A | $9K | $10K | $12K
----------------------------------New Hire | T | 20 | 10 | 6
| A | 22 | 10 | 5

So I need two textboxes showing in the cell at the same time (both when the cell is in the display mode and when it is in Editing mode)

Can this be achieved? Any other ideas are more than welcome.

Thank you.

1 reply

This discussion is closed to new replies.