Click here to Skip to main content
15,917,862 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionMoving a masterpage contentplaceholder around Pin
ThePlagueIsBack9-Oct-06 13:14
ThePlagueIsBack9-Oct-06 13:14 
AnswerRe: Moving a masterpage contentplaceholder around Pin
Mike Ellison9-Oct-06 14:12
Mike Ellison9-Oct-06 14:12 
GeneralRe: Moving a masterpage contentplaceholder around Pin
ThePlagueIsBack9-Oct-06 14:15
ThePlagueIsBack9-Oct-06 14:15 
QuestionHow to add a custom attribute to a wizard control? Pin
maergorn_09-Oct-06 12:09
maergorn_09-Oct-06 12:09 
AnswerRe: How to add a custom attribute to a wizard control? Pin
ThePlagueIsBack9-Oct-06 13:25
ThePlagueIsBack9-Oct-06 13:25 
GeneralRe: How to add a custom attribute to a wizard control? Pin
maergorn_09-Oct-06 19:17
maergorn_09-Oct-06 19:17 
QuestionValidating Custom User Control Pin
oldbam9-Oct-06 10:16
oldbam9-Oct-06 10:16 
QuestionValidating Custom User Control Pin
oldbam9-Oct-06 10:14
oldbam9-Oct-06 10:14 
Questionerror connecting sql express Pin
Harikrk9-Oct-06 8:36
Harikrk9-Oct-06 8:36 
AnswerRe: error connecting sql express Pin
Guffa9-Oct-06 8:41
Guffa9-Oct-06 8:41 
GeneralRe: error connecting sql express Pin
Harikrk9-Oct-06 8:46
Harikrk9-Oct-06 8:46 
AnswerRe: error connecting sql express Pin
Guffa13-Oct-06 9:16
Guffa13-Oct-06 9:16 
QuestionInvoking ASP method from JavaScript Pin
Lior S9-Oct-06 5:31
Lior S9-Oct-06 5:31 
AnswerRe: Invoking ASP method from JavaScript Pin
safat9-Oct-06 20:20
safat9-Oct-06 20:20 
QuestionPeriodically ViewState verification fail Pin
fcortesfranco9-Oct-06 4:44
fcortesfranco9-Oct-06 4:44 
Questionpopulating treeview from database table Pin
gbabu179-Oct-06 3:30
gbabu179-Oct-06 3:30 
hi ,

I have a database table with 3 columns

table1:

eid ename parentid
0 root 0
1 child1 0
2 child2 0
3 gchild1 1
4 gchild2 1
5 gchild3 2
6 gchild4 2
7 ggchild1 3
.... and so on.

now i want to populate the ASP.NET tree view with the table entries by querying the eids and parentids.
i am using ASP.NET 1.1. so i am using microsoft web controls.

TreeView:

Root
---child1
------gchild1
----------ggchild1
------gchild2
---child2
------gchild3
------gchild4
and so on.....



Can some one point to some logic or to some document.


AnswerRe: populating treeview from database table Pin
gbabu179-Oct-06 3:39
gbabu179-Oct-06 3:39 
GeneralRe: populating treeview from database table Pin
ThePlagueIsBack9-Oct-06 14:31
ThePlagueIsBack9-Oct-06 14:31 
Questionenter key Pin
amaneet9-Oct-06 2:41
amaneet9-Oct-06 2:41 
Questiondelete history Pin
amaneet9-Oct-06 2:16
amaneet9-Oct-06 2:16 
QuestionSwaaping the record in datagrid and database Pin
shivamala9-Oct-06 1:24
shivamala9-Oct-06 1:24 
QuestionRe: Swaaping the record in datagrid and database Pin
safat9-Oct-06 20:27
safat9-Oct-06 20:27 
QuestionGet DB record into XML thn show its HTML tag Pin
Deepak the Cool9-Oct-06 0:51
Deepak the Cool9-Oct-06 0:51 
QuestionViewState for Checkbox Enabled Property Pin
Mahaprabhu9-Oct-06 0:28
Mahaprabhu9-Oct-06 0:28 
Question<%= <%$ <%# Pin
dabs9-Oct-06 0:08
dabs9-Oct-06 0:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.