TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
ehsan soltani
NA
17
2.4k
A problem with button click
Jun 4 2015 8:07 AM
Dear C#corner
I have a problem to know the numbers of clicks on a buttons.
this is my program but It is not true;
int c=0;
protected void Button1_Click(object sender, EventArgs e)
{
Label1.Text = c.ToString();
c = c + 1;
}
after clicking on button, c will be 1 and it does not change anymore.
best regards
Reply
Answers (
12
)
How to display the data when we click on button in mvc 4??
diff bw null and dbnull