Click here to Skip to main content
15,892,059 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to insert in treeview with multiple item then inserted to mysql.

What I have tried:

six_tree.insert(parent='', index='end', iid=count, text="", values=(fn_entry1.get(), ln_entry1.get(), ID_entry1.get(), Address_entry1.get(), City_entry1.get(), Zipcode_entry1.get()),)
    count=count+1

but the this is like this
sample output

[1, 1, 1, 1, 1, 1]
[1, 1, 1, 1, 1, 1]
[2, 2, 2, 2, 2, 2]
Posted
Comments
Richard MacCutchan 4-Jul-22 8:45am    
What is six_tree, and what values are returned from all those get calls? As it stands there is no connection between your code and your results.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900