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
narasiman man
NA
0
117.8k
when i press clear button error occurs
Jul 10 2012 6:13 AM
double days = Convert.ToDouble(txt_working.Text);
double sundays = Convert.ToDouble(txt_days.Text);
double a = Convert.ToDouble(txt_basicscale.Text);
txt_basicamount.Text = Convert.ToDouble((a / days) * sundays).ToString();
the above code is working but when i press clear button error occurs in first line
input string was not in a correct format.
clear button code as follows
txt_wroking.text="";
txt_days.text="";
txt_basicscale.text="";
txt_basicamount.text="";
i dont know.please tell the correct thats why i am asking.
Reply
Answers (
1
)
getting error when i try this code
Code Breaking due to Windows Authentication