datagrideview...I need three textbox's in a sincle cell...help please...

  • Thread starter Thread starter trint
  • Start date Start date
T

trint

I have a datagridview which must have 3 textbox's in a single cell per
row:

textbox1 for Length
textbox2 for Width
textbox3 for Height

Any help is very much appreciated.
Thanks,
Trint
 
Under the "keep it simple" approach, how about a regular single
textbox, and parse the value via a TypeConverter, i.e. "13 x 5 x 6",
or "13w 5l 6h" or something...? (trying to avoid locale decimal /
block separators in any such delimiters)

Marc
 
Under the "keep it simple" approach, how about a regular single
textbox, and parse the value via a TypeConverter, i.e. "13 x 5 x 6",
or "13w 5l 6h" or something...? (trying to avoid locale decimal /
block separators in any such delimiters)

Or better yet, embed a single custom control that does what he wants. Maybe an expandable control that looks like this:

-Dimension 10 x 5 x 8
Length 10
Width 5
Height 8

Also have a look here. It may or may not be helpful (for implementing the above) depending on what you're doing. It's by the manager of the "DataGridView" at MSFT:

http://blogs.msdn.com/markrideout/archive/2006/01/08/510700.aspx
 
Or better yet, embed a single custom control that does what he wants. Maybe an expandable control that looks like this:

-Dimension 10 x 5 x 8
Length 10
Width 5
Height 8

Also have a look here. It may or may not be helpful (for implementing the above) depending on what you're doing. It's by the manager of the "DataGridView" at MSFT:

http://blogs.msdn.com/markrideout/archive/2006/01/08/510700.aspx

Those are great ideas...can you provide a snippit for me to get a good
start?
Thank you very much.
Trint
 
trint said:
I have a datagridview which must have 3 textbox's in a single cell per
row:

Where does the single cell requirement come from?
textbox1 for Length
textbox2 for Width
textbox3 for Height

That really sounds more like three separate columns would be appropriate.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top