Eric,
Why not use the PropertyGrid control?
i
> Hi,
>
[quoted text clipped - 9 lines]
> Thanks in advance
> Eric
Eric Lin - 15 Dec 2005 20:40 GMT
thank you, I'll try it.
> Eric,
>
[quoted text clipped - 14 lines]
> > Thanks in advance
> > Eric
Set the LabelEdit property to true.

Signature
HTH,
Kevin Spencer
Microsoft MVP
.Net Developer
You can lead a fish to a bicycle,
but it takes a very long time,
and the bicycle has to *want* to change.
> Hi,
>
[quoted text clipped - 9 lines]
> Thanks in advance
> Eric
Eric Lin - 15 Dec 2005 20:38 GMT
When I do that, the user can edit the text in the cells in the first column,
but not the values in the second column, actually corresponding to subitem
collection items.
I guess I will try the Properties control, but thanks anyway, and if you
know how I can let the user edit the values in the second column as well,
please let me know it.
thanks again
Eric
> Set the LabelEdit property to true.
>
[quoted text clipped - 11 lines]
> > Thanks in advance
> > Eric