コード例 #1
0
    private void getEmployeeFileStatus(string empID)
    {
        clearLabel();
        employeeFileStatusGV.Visible = true;
        employeeFileStatusGV.DataSource = null;
        employeeFileStatusGV.DataBind();

        DataTable result = null;

        EmployeeManager manage = new EmployeeManager();
        result = manage.getEmployeeFileStatus(empID);

        if (result != null && result.Rows.Count > 0)
        {
            employeeFileStatusGV.DataSource = result;
            employeeFileStatusGV.DataBind();
        }
    }