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
Noor Ullah Jan
NA
10
683
Multi Text Box subtraction
Aug 19 2019 11:37 PM
private void contextBox_TextChanged(object sender, EventArgs e)
{
if (TotaltextBox.Text != "" && contextBox.Text != "" && RecivedtextBox.Text!="")
{
Decimal totalPricetopay = Convert.ToDecimal(TotaltextBox.Text) - Convert.ToDecimal(contextBox.Text);
Decimal total = Convert.ToDecimal(TotaltextBox.Text) - Convert.ToDecimal(RecivedtextBox.Text);
BalancetextBox.Text = totalPricetopay.ToString();
}
else
{
BalancetextBox.Text = "0";
}
}
Reply
Answers (
6
)
ACCESS Database - Check if User is in DB if not then alert
Excel file fit to 1 page