Hi Guys!
I have two questions relatively related to each other. The first one is very easy. I don't like the standart treeview look (with the plus sign). How to make such as "Solution Explorer" treeview look (with triangles)? Like this, may be...
Second is a bit confusing for me. I found the link here but I didn't get it exactly.
Now, I can successfully display my customer_info database table in datageidview binded to customer_infoBindingSource. I have also a biling_info table whichs dependency already related to the customer_info table at sql server with the customer_ID(is a PK in customer_info and a required field in billing_info).
I have all these datasets, bindingsources and tableadapters for all of them.
A short example:
customer_info
billing_info
I allow users to create different billing informations for the same customer. Etiquette field in billing_info table can be filled manually such as "Home", Office" or "Address1".
What I want to learn is, as I click on the customer in datagridview, how to make:
visible all billing infos belongs to that customer by calling from customer_ID as treeviews with the title etiquette in a container next to the datagridview?
I want to allow users expand the treeview and see the billing info details.
Can you give me an example code or some tutorial from the codebank telling step by step for dummies?
Thanks a lot!
I have two questions relatively related to each other. The first one is very easy. I don't like the standart treeview look (with the plus sign). How to make such as "Solution Explorer" treeview look (with triangles)? Like this, may be...
Second is a bit confusing for me. I found the link here but I didn't get it exactly.
Now, I can successfully display my customer_info database table in datageidview binded to customer_infoBindingSource. I have also a biling_info table whichs dependency already related to the customer_info table at sql server with the customer_ID(is a PK in customer_info and a required field in billing_info).
I have all these datasets, bindingsources and tableadapters for all of them.
A short example:
customer_info
cutomerID(PK) |
Name |
Surname |
SSN |
(PK) |
customer_ID |
Etiquette |
Address |
Phone |
I allow users to create different billing informations for the same customer. Etiquette field in billing_info table can be filled manually such as "Home", Office" or "Address1".
What I want to learn is, as I click on the customer in datagridview, how to make:
visible all billing infos belongs to that customer by calling from customer_ID as treeviews with the title etiquette in a container next to the datagridview?
I want to allow users expand the treeview and see the billing info details.
Can you give me an example code or some tutorial from the codebank telling step by step for dummies?
Thanks a lot!