Click here to Skip to main content
15,905,782 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi, i am creating an ASP.NET C# web application and I am looking for the easiest way to do a comments system.

I'll explain.

I have a page containing Items (list items contaning texts)

I want the users to be able to click on one, and then he is allowed to reply or comment to it. and he can see what others have replied too.

Any suggestions on how to do that is greatly appreciated.

Is there a library or API that can do that? and if not can you give me tips on how to do it?

thank you very much
Posted

1 solution

Hi,

every one follow their own way for this situations .you've to think yourself for best solution in your way.

now i'm providing my way If I'm there what I do.

First design database tables everything starts from back only

we've to create following tables ...

ItemTab(id,itemname,itemdesc,itempic,...)
RplyComTab(id,desc,itemid...

then designing page everything ends here..

when user clicks item we've to show all comments/rplys
in repeater control or some other..
based on that itemid

Try some your own code then come back with specific problem.

All the Best.
 
Share this answer
 
Comments
Youssef_Keyrouz 13-Oct-11 14:21pm    
Thanks for the tip. I will start using a database to save the comments and then query them for each item.
Muralikrishna8811 13-Oct-11 14:22pm    
most welcome

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