Click here to Skip to main content
15,896,557 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
My Requirement is:


When iam clicking a button the Rating count will be incremented with 1.
Posted
Updated 29-Apr-13 0:51am
v2
Comments
Maciej Los 29-Apr-13 6:52am    
And the question is...
What have you done so far?
Where are you stuck?

C#
int rating=0;
private void button1_Click(object sender, EventArgs e)
      {
          rating++;
          txtrating.Text = rating.toString();
      }
 
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