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
Israel
693
1.3k
219.5k
Only increment for one time...
Feb 17 2016 9:49 AM
Hi!
I have this code then its works well. But I need to increment only once. Means that when I click on the button its should "add" or increment ONLY once time. Then when you click again to increment a number. Its can accept. How can I do it please?
decimal d1, d2, total;
decimal.TryParse(lblResFactN.Text, out d1);
decimal.TryParse("1", out d2);
total = d1 + d2;
lblTotal.Text = total.ToString();
Reply
Answers (
8
)
How to save the data from partial view popup window in mvc4?
EF dynamic CRUD