|
Hi guys
I need help.
I would to know how to fill listbox with dropdown list data please
Thx
|
|
|
|
|
please clear you scenario still i m giving you an answer .
Solution 1.
you can fill the listbox from dropdown data by using Dictionary or list .
1.first get your data in a dictionary.
2.then fill your list box using this data.
Soultion 2.
ListBox1.Items.Add(DropDownList1.SelectedValue);
|
|
|
|
|
Thx you for you help.
MoreOver I would like know how I can use the Dictionary, my question is how the post the article which I select in my dropdownlist, then how i make to record it by getting back Id
|
|
|
|
|
|
thx guy but i would like to keep the iD for my listbox and keep in one table who have two FKs
Thx
|
|
|
|