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
Bobby White
NA
20
0
Quick Question about what Im doing wrong
Jan 27 2010 6:19 PM
It is saying that input string was not in correct format, the line thats bold is the problem? Please tell me whats wrong with it, and how to fix it, thanks in advance.
{
double a;
double b;
double c;
a = double.Parse(textBox1.Text);
b = double.Parse(textBox2.Text);
c = Math.Sqrt((a * a) + (b * b));
label1.Text = c.ToString();
}
Reply
Answers (
3
)
Cannot implicitly convert type "String" to "System.Windows.Forms.Label"
read sql query strings from a file