public void RefreshCallLog(DataGridView dg_CallLog) { List <CallLog> cllist = _dataInterface.CallLogs(); dg_CallLog.Rows.Clear(); foreach (CallLog mb in cllist) { dg_CallLog.Rows.Add(mb.UserId, mb.Connected, mb.Disconnected); } }