private void LoadAttendedEmployeeList()
        {
            try
            {
                Mouse.OverrideCursor = Cursors.Wait;
                // ListBoxConverter.ItemsSource = "";
                //Dictionary<string, string> todayAttendedEmployees = daServices.todayAttendedEmployees(DateTime.Now);
                attendance = daServices.todayAttendedEmployees(DateTime.Now);

                dataList = new List <Item>();
                Item newItem;
                if (attendance.Rows.Count > 0)
                {
                    for (int i = 0; i < attendance.Rows.Count; i++)
                    {
                        DataRow row = attendance.Select()[i];

                        Employee employee = daServices.getEmployeebyEmployeeID(row["employee_id"].ToString());
                        newItem             = new Item();
                        newItem.Name        = employee.FirstName;
                        newItem.date        = DateTime.Now.ToShortDateString();
                        newItem.SignInTime  = row["in_time"].ToString();
                        newItem.SignOutTime = row["out_time"].ToString();
                        dataList.Add(newItem);
                    }
                }

                attendance_listview.ItemsSource = dataList;
                // ListBoxConverter.ItemsSource = dataList;
                // this.ListBoxConverter.DataContext = this;
                Mouse.OverrideCursor = null;
            }
            catch (ArgumentException)
            {
                Mouse.OverrideCursor = null;
                System.Windows.MessageBox.Show("Two or more records for same employee for today.", "Graph error", MessageBoxButton.OK, MessageBoxImage.Error);
                hideAllGrids();
                Home_Grid.Visibility     = Visibility.Visible;
                DateTime_Grid.Visibility = Visibility.Visible;
            }
        }