//刷新显示datagridview 数据 private void RefreshDataView() { string msg = string.Empty; DrugType[] drugTypeArr = PharmacyDatabaseService.AllDrugTypes(out msg); if (string.IsNullOrEmpty(msg)) { GenerateNewDataSource(drugTypeArr); } }