//Load dữ liệu của Form_M0012_Replace private void GetInfo_GridView() { try { _tempTable = M0012_DAO.GetInfo_M0012_Replace(); if (_tempTable.Rows.Count > 0) { gridControl.DataSource = _tempTable; bsiRecordsCount.Caption = gridView.RowCount.ToString() + " of " + _tempTable.Rows.Count + " records"; } } catch (Exception ex) { MessageBox.Show("Lỗi: " + ex.Message, "Lỗi", MessageBoxButtons.OK, MessageBoxIcon.Error); } }