Thanks, 

Adityo
====================================
sent from my Blackberry®

-----Original Message-----
From: Jamie Fraser <[email protected]>
Sender: [email protected]
Date: Fri, 3 Sep 2010 22:52:34 
To: <[email protected]>
Reply-To: [email protected]
Subject: Re: [DotNetDevelopment] Datagridview with custom columns containing
 user defined control

TemplateColumn

On Fri, Sep 3, 2010 at 9:23 PM, R <[email protected]> wrote:
> 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   |  $20000  |   $25000  |   $30000
>                 |   A  |  $18000  |   $26000  |   $29000
> ---------------------------------------------------------------------------
> Expenses  |   T   |  $10000  |   $10000  |   $10000
>                 |  A   |  $9000    |   $10000  |   $12000
> ---------------------------------------------------------------------------
> 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.

Reply via email to