Tech
Forums
Jobs
Books
Events
Videos
Conference
Annual Conference
Bcrypt
Ai Conference
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Post
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
3
Reply
How can i multiply value from notepad.txt file through c#
Feroz Khan
8 years ago
525
Reply
Hi,
I want to do multiply with below code but where value i have fixed like 0.50 there i want to pick value from notepad.txt file so i can i do this.. please see below code.. and help me about that.. thanks..
int TotalSale = Convert.ToInt32(Total_sale_lbl.Text);
int Perc = Convert.ToInt32(Eighty_txt.Text);
if (Perc >= 95 && Perc <= 99)
{
bounus_txt.ForeColor = Color.Green;
bounus_txt.Text = (TotalSale / 100 *
0.50
)
.ToString("0");
}
Post
Reset
Cancel
Answers (
3
)
Next Recommended Forum
How to add image in tooltip when mouse over event occured
Calculation Issue