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
Asad khan
NA
208
97.8k
error: input string was not a correct format
Nov 30 2018 9:05 PM
private void txtdiscountallowed_TextChanged(object sender, EventArgs e)
{
double discount = Convert.ToDouble(txtdiscountallowed.Text);
double sprice = Convert.ToDouble(txtSalesPrice.Text);
double Nudiscount = sprice * discount / 100;
txtCostPrice.Text = (sprice - Nudiscount).ToString();
}
Attachment:
dis.zip
Reply
Answers (
2
)
Navigate Records in WinForm C#
c# Reportviewer Error