![]() |
| ||
| add item from combobox to treeview hi can any one please send ,first i select an item to combobox it will be displayed in tree view next if select the same item it will not add repaetedly.if we add different then it will added to treeview |
| ||
| Re: add item from combobox to treeview for adding a selected combo item in tree view following is the line of code, "Me.TreeView1.Nodes.Add(Me.ComboBox1.Text)" |
| ||
| Re: add item from combobox to treeview To avoid duplicate addition you need to check that before adding the item to the tree view. |
| ||
| Re: add item from combobox to treeview hi, try creating a different key for each node u create.i think that will work.key should be unique in treeview nodes. Me.TreeView1.Nodes.Add(Me.ComboBox1.Text & i) |
| All times are GMT -4. The time now is 6:21 am. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC