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
Mohammad Ishaq
NA
55
19k
calculation in text box
Jun 4 2014 10:10 AM
let me know by anyone if i have three text boxes Text Box 1,2 and 3.
The First Text Box pick the gross salary from data base on the bases of selection from the combo box.
i want that the 2nd box calculate salary per day ( Gross Salary / 30). And the 3rd text box calculate salary per hour {(Gross salary/30)/8}.
I have try this code but it is not working.
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim grsalry As Integer
Dim ratprday As Integer
grsalry = Val(TextBox1.Text)
ratprday = grsalry / 30
TextBox2.Text = ratprday
End Sub
End Class
Thanks
Reply
Answers (
2
)
How to use EventInfo.Addhandler to bind a local EventHandler
form hidden/form shown