public int DisplayQuery(string ad)
        {
            ClearDataGrid(Viewer.DataGridView_Query);
            var query = GetFilterdRecords(ad);

            foreach (var record in query)
            {
                Viewer.AddToQueryGrid(record);
            }
            return(query.Count());
        }