|
-
November 30th, 2011, 04:59 AM
#1
[URGENT]how to get the value of the selected item of a datagridview combobox
hey all, I have a situation that needs a solution urgently.
so, the thing is I am trying to implementing a barcode reader into my C# application.
I understand that the barcode scanner works just like we type something on the keyboard.
I have a textbox which the user will scan the barcode. And it works just fine, the number appears on the textbox.
then I have a datagridview which has texboxes and a couple of comboboxes which are binded to the mysql database.
the problem is how do I get the barcode number inside the datagridview combobox to match exactly like the user's entered barcode inside the textbox?
please note that unlike the regular ComboBox control, the DataGridView ComboBox types doesn't have a SelectedItem/SelectedValue/SelectedIndex property for retrieving the currently selected object.
I've been working on this for almost a week and still no clue.
your help is much appreciated.
thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|