FeelingCocky Posted January 30, 2006 Posted January 30, 2006 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 Quote
SonicBoomAu Posted January 31, 2006 Posted January 31, 2006 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 Quote 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
FeelingCocky Posted January 31, 2006 Author Posted January 31, 2006 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. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.