S
s
Hi!
I have Dataset named "bledy", where first column is ID and second is NAME .
I set all things by:
BledyCheckedListBox.DataSource = bledy.Tables[0];
BledyCheckedListBox.DisplayMember = bledy.Tables[0].Columns[1].ToString();
BledyCheckedListBox.ValueMember = bledy.Tables[0].Columns[0].ToString();
It might look dirty, but it works
Now... How can i get values of selected items? [ that means i need ID, not
NAME ]
I've found how to get selectedvalue [ but it works only for actually
selected item ].
Thanks in advance
I have Dataset named "bledy", where first column is ID and second is NAME .
I set all things by:
BledyCheckedListBox.DataSource = bledy.Tables[0];
BledyCheckedListBox.DisplayMember = bledy.Tables[0].Columns[1].ToString();
BledyCheckedListBox.ValueMember = bledy.Tables[0].Columns[0].ToString();
It might look dirty, but it works
Now... How can i get values of selected items? [ that means i need ID, not
NAME ]
I've found how to get selectedvalue [ but it works only for actually
selected item ].
Thanks in advance