Click here to Skip to main content
15,894,362 members
Please Sign up or sign in to vote.
2.80/5 (4 votes)
See more:
This is what i think the code is but doesn't work

C#
DataSet1 newdataset = new DataSet1();
           treeView1.Nodes.Add(newdataset.Dock_1.Rows.ToString());


and on the dataset I have added

Datatable called NUMBERS
And in that table I added a column called DataColumn1

on the form load the treeview1 nodes should look like this

NUMBERS
+DataColumn1

I was wondering if anyone can help me achieve this?
Posted

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