Click here to Skip to main content
15,891,920 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i made social networking site where i want multi level reply option(reply to reply at N level),

Just like code project,
where we post reply on comment and then other user also reply us....and so on ....at N level,


what we have done so far is,

I take a table name tbl_Comment, and in this table i take two coloum, name as
1. Ans_id and
2. father_id,

then i have two cash:
1. if comment on answer i took ans_id,
2. and if reply on comment i took, comment id as father id and ans_id took zero,


So when i display that,data i take two nested grid view, 1st grid view bind comment on Answer, and inner grid view bind reply on comment where Ans_id is zero,

But it bind data only at one level, after this what can i do for N level binding data,

And i also want that second level reply is just below of 1st level reply,

What can i do ?

Plz help.................
Posted
Updated 6-Dec-17 9:01am
v2

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900