locked
Like Application in C# RRS feed

  • Question

  • I Have Created A Application, But This Is My One Of The Favourite Ones. So I Would Like To Add A Like Button In The Corner.

    But How To.

    I want that if anybody click on the button , in the settings a setting name like value will be + 1

    So What is The Code...

    Wednesday, February 12, 2014 5:30 AM

All replies

  • You must try it yourself. If you facing any issue then come to us. Please don't expect members here to write code for you.

    • Proposed as answer by Cor Ligthert Wednesday, February 12, 2014 8:47 AM
    Wednesday, February 12, 2014 7:20 AM
  • if you can store the click count of the button somewhere, say in database or some file system, you can implement this with least work. on click of button event, go to the data table or file, increment the value present there by one and refresh the page with the counter value in some label or so. you can use ajax to save processing cost also.

    regards

    joon


    • Edited by Joon84 Wednesday, February 12, 2014 7:47 AM
    Wednesday, February 12, 2014 7:46 AM
  • I have tried lot but problem occurs of Microsoft.VisualBasic

    Please someone provide me the code

    Wednesday, February 12, 2014 8:42 AM
  • the following link will help you to understand on how to interact with database for basic opeations..

    http://www.asp.net/mvc/tutorials/older-versions/contact-manager/iteration-1-create-the-application-vb

    Wednesday, February 12, 2014 8:55 AM
  • Sorry but i can't understand that code if anyone can provide me then its okay
    Saturday, March 8, 2014 10:17 AM
  • Then don't ask non related question in the C# forum.

    http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=vbgeneral


    Success
    Cor

    Saturday, March 8, 2014 10:37 AM
  • I have tried lot but problem occurs of Microsoft.VisualBasic
    Please someone provide me the code

    I'm confused, Janit ... the title of your post clearly says "in C#" ... why then do you even mention VB?

    Joon has provided you with some steps you can take to accomplish your task. You say you've tried (in VB?), but have problems. That doesn't help us to help you. You need to post some of the code you've tried, along with exactly what your problem is with that code and then we can (maybe) tell you what's wrong.

    And, if that code is VB (contrary to your post title), then I can move this thread over to the VB forum. But I won't do that until we can clear up whether you're asking about C# code of VB code!!!


    ~~Bonnie DeWitt [C# MVP]

    http://geek-goddess-bonnie.blogspot.com

    Saturday, March 8, 2014 5:16 PM