can you help me on how can i view the first name, middle name and last time on my textbox if i search the employee number ?
below is my code sample..
please help me..
Expand|Select|Wrap|Line Numbers
- Try
- Dim strempno As String
- Dim rs As OracleAccess.clsOracleConnection
- strempno = txtEmpno.Text
- If strempno = "" Or strempno = " " Then
- MessageBox.Show("EmployeeNo is always necessary", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error)
- Call LSubfrmCnlenabled(False)
- rs.PFstrsConnect = True
- txtEmpno.Text = "select EMPLOYEE_NO from M_EMPLOYEE;"
- txtFname.Text = "select FIRST_NAME from M_EMPLOYEE;"
- End If
- Catch ex As Exception
- MessageBox.Show(ex.Message, "Error on btnOK", MessageBoxButtons.OK, MessageBoxIcon.Error)
- End Try