private void RefreshTimer_Tick(object sender, EventArgs e) { int count = 0; if (m_dataset != null) { count = m_dataset.Tables[0].Rows.Count; } m_dataset = ServerUtils.EmptyQueue(m_dataset); if (count != m_dataset.Tables[0].Rows.Count) { DataGridCTRL.DataSource = m_dataset.Tables[0]; } }