Jump to content
Xtreme .Net Talk

Recommended Posts

Posted
Is there a way to have one column in a DataGrid display a combo box in each new row? I have a list of stocks and I'd like the DataGrid to contain a combo box with a "BUY" item and a "SELL" item for each row. Is this possible?
Posted
in the Text property of the column... you'll have to add HTML code that will suit your needs. It'll work perfectly... I did add some things like this in columns before.

"If someone say : "Die mortal !"... don't stay to see if he isn't." - Unknown

"Learning to program is like going out with a new girl friend. There's always something that wasn't mentioned in the documentation..." - Me

"A drunk girl is like an animal... it scream at everything like a cat and roll in the grass like a dog." - Me after seeing my girlfriend drunk and some of her drunk friend.

C# TO VB TRANSLATOR

Posted

One thing...

 

This looks like EXACTLY what I need, but one question if you have used this code. What is the datagridtextBox object. He never declares this and without knowing how to create it i can't add the combBox control. Thanks in advance.

 

Have a look at this - looks like it does what you need.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...