Hi everyone,
I have a linq query with the needed results abd need to display the results using a treeview, but the treeview needs IHierarchicaldDataSource or IHierarchicalEnumerable.
Here is my linq code:
DataContext_SecurityDataContext db = new DataContext_SecurityDataContext();
var roles = from r in db.aspnet_Roles
select new {r.RoleName};
How can I populate the treeview in codebehind, without usin linqdatasorce?
Thank's a lot,
/Pepe
Pepe Jose
Newbie@C#.Net