Posts Tagged: CTE

TreeView Population without recursive function

Posted by & filed under .Net, .Net 3.0 / 3.5, SQL Server, Visual Studio, Windows Forms.

If you want to display hierarchical data in a Treeview normally we are using recursion. I was looking for code which helps to avoid recursion using a Single query. But that code was using VB.Net and it was using a class called “Collection”, which is not available in C#. So I was looking for a [...]