There is a nice useful snippet when using standard MS combobox to track current selected item in a table based on the current selected item of the combobox. This snippet can be accessed using VS 2008 and upward i dont know about 2005. (InsertSnippet> Data - LinQ/XML/Desinger/ADO.NET blah blah> Designer Features and ADO.net> ConvertBindingsource.Current to a specific row in a DataTable)
Using the standard VS shipped combobox it works giving me the option to define it like this:
and then Dim for example put it into a variable like:
This however doesn't work for telerik q1 2011 winform RadDropDownList. can anyone help me with this?
Using the standard VS shipped combobox it works giving me the option to define it like this:
Dim
row
As
MyProjectDataSet.tblStaffRow<br> row =
CType
(
CType
(
Me
.ComboBoxStaff.SelectedItem, DataRowView).Row, MyProjectDataSet.tblStaffRow)
myArrayVariable.Add(row.StaffName)
This however doesn't work for telerik q1 2011 winform RadDropDownList. can anyone help me with this?