private void PopulateFields()
        {
            DataTable csrDt = csr.GetCSR(csrId);

            if (csrDt.Rows != null && csrDt.Rows.Count != 0)
            {
                DataRow row = csrDt.Rows[0];
                labelName.Text = row["fname"].ToString() + " " + row["lname"].ToString();
                labelDOB.Text = row["dob"].ToString();
                labelSalary.Text = row["salary"].ToString();
                labelSex.Text = row["sex"].ToString();

            }
        }
        private void PopulateFields()
        {
            DataTable dt        = csr.GetCSR(csrId);
            DataRow   row       = dt.Rows[0];
            String    firstName = row["fname"].ToString();
            String    lastName  = row["lname"].ToString();
            String    dob       = row["dob"].ToString();
            String    username  = row["username"].ToString();
            String    password  = row["password"].ToString();
            String    salary    = row["salary"].ToString();
            String    sex       = row["sex"].ToString();

            textBoxFname.Text    = firstName;
            textBoxLname.Text    = lastName;
            csrDOB.Value         = Convert.ToDateTime(dob);
            textBoxUsername.Text = username;
            textBoxPassword.Text = password;
            textBoxSalary.Text   = salary;
            comboBoxSex.Text     = sex;
        }