Hi,
I have Listbox(lstgrou ps) and listview(lstIte ms). say items in lisbox as Groups and in listview as Items.
Each Group should have list of items, when i add an new item to lstitems. it should assign to selected group. and If I add two items to a selected group and moved to Second goup and added items to these. Then if moved to first group the intial added Items are to displayed in Listview. is that Possible.
By using dictionary classes
Here List<object> should return lstitems
Dictionary<stri ng, List<object>> d= new Dictionary(stri ng, List<object>>() ;
d.add(lstgroups .items, new List<object>);
//error cumes here, how to assign here List<>
Thanks and regards,
Uday
I have Listbox(lstgrou ps) and listview(lstIte ms). say items in lisbox as Groups and in listview as Items.
Each Group should have list of items, when i add an new item to lstitems. it should assign to selected group. and If I add two items to a selected group and moved to Second goup and added items to these. Then if moved to first group the intial added Items are to displayed in Listview. is that Possible.
By using dictionary classes
Here List<object> should return lstitems
Dictionary<stri ng, List<object>> d= new Dictionary(stri ng, List<object>>() ;
d.add(lstgroups .items, new List<object>);
//error cumes here, how to assign here List<>
Thanks and regards,
Uday
Comment