x189.BlogSpot.com

About x189.BlogSpot.com

The problem We have a table like this:The table is straight-forward, one category can have many other categories. Look at the sample data, you can see that Stationery is Pen's parent, Pen is Ball-Point's parent...Imagine you're designing GUI for an app or a web. You wanna display those categories in what way? For me, I choose a TreeView.Note: This article has C# label because I wanna focus on the code. So the TreeView control is in WinForm or ASP.



Retrieved from "http://aboutus.com/index.php?title=x189.BlogSpot.com&oldid=34882881"