void loadrecord(int ID)
 {
     if (ID > 0)
     {
         vUserInfo record = AttendanceBLL.GetEmployeeByID(ID);
         uxNameLocal.Text              = record.NameLocal;
         uxFatherNameLocal.Text        = record.FathernameLocal;
         uxHrCode.Text                 = record.HrCode;
         uxName.Text                   = record.NameEnglish;
         uxGender.SelectedValue        = record.Gender.ToString();
         uxStatus.SelectedValue        = record.Status.HasValue ? record.Status.ToString() : (1).ToString();
         uxTitle.Text                  = record.TITLE;
         uxDefaultDeptID.SelectedValue = record.DepartmentID.ToString();
         uxBast.SelectedValue          = record.Bast.ToString();
         uxID.Value               = ID.ToString();
         uxQadam.SelectedValue    = record.Qadam.ToString();
         uxZoneName.SelectedValue = record.ZoneName.ToString();
     }
 }