I have a dropdown list control that I have bound to an SQL table called groups. The display, displays "group_name", which is a human readable text field.
I want to bind SelectedValue to group_id, which has a data type of uniqueidentifier (GUIDs), so I can later run an insert query using selected value:
INSERT INTO accounts (contact, phone, groupid) VALUES(?,?,?)
where those values are contact.text, phone.text, cboGroup.selectedvalue.
but when I do this, I get "Unspecified Error"....which is always greatly helpful.
What do I need to change to get this to work?
Start Free Trial