Tree view dispaly

Posted by Chandan.sahab under Regular Expressions on 11/25/2009 | Views : 2404 | Status : [Member] | Replies : 2
Hi, i have table in Sql 2008 which stores data in hierarchial manner properly with datatype hierarchyid. Now i want to show the data in parent child relation on my front page which is in ASP.net 3.5(C#),which control will be best and how can we will be able to show. Please help.




Responses

Posted by: Vuyiswamb on: 11/25/2009 [Member] [MVP] [Administrator] NotApplicable

Up
0
Down
Good Day

A TreeView Control will do the job for you. Here are some reference materials about this

http://www.codeproject.com/KB/webforms/ClientSideTreeView.aspx


http://msdn.microsoft.com/en-us/library/e8z5184w%28VS.80%29.aspx

http://www.beansoftware.com/asp.net-tutorials/using-treeview-control.aspx



http://www.15seconds.com/issue/041117.htm


Thank you for posting at Dotnetfunda

Vuyiswa Maseko



Thank you for posting at Dotnetfunda
[Administrator]

Chandan.sahab, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Abhijit Jana on: 11/25/2009 [Member] [MVP] Bronze

Up
0
Down
You need to use ASP.NET TreeView Control for it. The simplest way to render them in asp.net is to read the data from SQL Server DB as XML Format and use that data as XML Datasource for Treeview.

Cheers !
Abhijit

Chandan.sahab, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response