Click here to Skip to main content
15,896,359 members
Please Sign up or sign in to vote.
3.00/5 (4 votes)
See more:
Hello,
I am working on a social web site i want to implement like and dislike functionality for a message or comment in it how it is possible?
Please give me the proper solution.
Thanks there
Posted
Comments
Member 13373873 28-Aug-17 2:49am    
i have created two image button in aspx page
when i am clicking the image button i need to increment the value in database
but this code is not working


}

1 solution

Hi,

Just use a link button with Text "Like".
On Click event: Change its Text to "Unlike"
and also Capture the Username and Maintain the Counter.
 
Share this answer
 
Comments
nira.parmar 6-May-12 23:09pm    
how to maintain the counter?

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