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
705
1.3k
216.4k
Alert Message with condition
Dec 5 2014 7:59 AM
Hi!
I need to receive always this alert message that says: "you limit is passed".
I write this code just now and when I make substraction. I need when the result is "egal" or "more than" 6000 km its should say that alert message in top:
if (string.IsNullOrEmpty(lastKM.Text))
{
return;
}
double lastKM;
double recenteKM;
double ResultKms;
lastKM= Convert.ToDouble(txtlastKM.Text);
recenteKM= Convert.ToDouble(txtrecenteKM.Text);
ResultKms = lastKM- recenteKM;
lblResultKms.Text = ResultKms.ToString();
}
Reply
Answers (
4
)
Master Page in MVC4
Texbox Readonly Problem