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();

Afzaal Ahmad ZeeshanRank #60 · 27.6K reputationPosted Feb 18, 2016, 12:06 PM EST
Afzaal Ahmad ZeeshanRank #60 · 27.6K reputationPosted Feb 17, 2016, 4:55 AM EST
IsraelRank #1,223 · 1.5K reputationPosted Feb 18, 2016, 2:05 AM EST
Shubham KumarRank #621 · 3.8K reputationPosted Feb 18, 2016, 2:14 AM EST
IsraelRank #1,223 · 1.5K reputationPosted Feb 18, 2016, 2:40 AM EST
Shubham KumarRank #621 · 3.8K reputationPosted Feb 18, 2016, 2:57 AM EST
IsraelRank #1,223 · 1.5K reputationPosted Feb 18, 2016, 3:43 AM EST
Shubham KumarRank #621 · 3.8K reputationPosted Feb 18, 2016, 6:00 AM EST