Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I have found some examples on how to put a combobox in a datagrid using a class and a tablestyle (really don't understand how this thing works). The problem I'm having is trying to reference the combobox from the form to find out what the currently selected value is in the combobox embedded in the datagrid's column.

 

Cheers

Posted

Firstly welcome.

 

Have you had a look at the following site.

http://www.syncfusion.com/faq/windowsforms/Default.aspx

 

It has some examples of how to use comboboxes within datagrids.

 

Hope this helps

Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.

-- Rick Cook, The Wizardry Compiled

Posted
Thanks, I've seen the site and the examples. It looks like the combobox only exists when that specific cell has focus. If that's true then how can I make use of a combobox's Valuemember property. Obviously when I save to a database, I don't necessarily want to save the text rather the numeric representation of the text.

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...