Click here to Skip to main content
15,891,529 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi All,

Bind the two tables data to a datalist like a forums. I have two tables those are tbl_feedbacks (msgid, message, date, rate, empid) and tbl_feedbackmessages (Id,msgid, comments,date,empid). Now I want to bind the data list first. First one should be message and bellow of that bind the comments which are related to that message id. I am able to get the records but how can I bind like forums.
Please guide me how solve this.
Thanks in an advance.


Thanks & Regards,

Jeevan.
Posted
Updated 13-Dec-10 6:28am
v3
Comments
Abdul Quader Mamun 13-Dec-10 12:28pm    
Spelling check.

1 solution

A hierarichal datagrid would fit in good here. There is a clear relation of master-child kind of link. You can make a data relation between two datatables in a dataset and use them as source of your datagrid.
 
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