Hi, I have a table with the Bill of Material structure, and I want to show in a TreeView.
Showing the levels the BOM. I try to do with the Recursive Example, but I can't...
I sent to you a file, with the structure of my table. Please help me.
Thank
I think you need to create a DataRelation on the DataSet. For example,
ds.Relations.Add(
new DataRelation("MyRelation",
ds.Tables[0].Columns["KeyID"],
ds.Tables[0].Columns[
"ParentKeyID"]));