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
salary amount to be calculated
Jul 10 2012 4:04 AM
days textbox1 calendarimage (what month i choose that a partiuclat day will be displayed in the textbox1)
31
excludesunday textbox2 (exclude sunday reaming days to be displayed in the textbox2) 26
salary textbox3 textbox4
1000
on textbox3 changed i write the following code
{
double days = textbox1.text;
double sundays = textbox2.text;
textbox4.text = convert. double (textbox3.text / days * sundays);
}
when i run
i get the follwing errors
cannot implicity convert type string to int;
opertor / cannot be applied to operands of type system.windows.forms.textbox and double
please send the code.help me.
Reply
Answers (
1
)
retreving the data from another table
getting error when i try this code