Hi there i want to know about grading system in visual stuio i am new in software engr just tell me how we make grading system in windows application in visual studio like when we put 5 in grade section the basic sallary will be 15000 and home allownce will be 15 percent of basic sallary and convence allownce should be 10 percent of basic sallary then cinteger in gross sallary will be shown and it will be basic sallary plus home allownce plus convence allowence minus 5 percent of tax on basic sallary and net amount will be shown

Recommended Answers

All 2 Replies

I'd do that in Excel.

See if this helps.
1 TextBox, 1 Button, 3 Labels

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Select Case TextBox1.Text '// check value in TextBox.
            Case "5" '// if 5.
                Label1.Text = "15000"
                Label2.Text = "15%"
                Label3.Text = CStr(15000 * 0.1) '// multiply 15000 by .1 to get 10%.
            Case "6" '// if 6.
                Label1.Text = "25000"
                Label2.Text = "20%"
                Label3.Text = CStr(25000 * 0.1) '// CStr converts the #'s to String value for adding it as .Text.
            Case Else '// if anything else.
                MsgBox("Incorrect grade entered.")
        End Select
    End Sub
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.