private void RefreshLogHeader() { DateTime fromDate = (DateTime)rdbProcess.FromDate.Value; DateTime toDate = (DateTime)rdbProcess.ToDate.Value; dgvLog.DataSource = LogTable.GetLog(fromDate, toDate); }