ReportIACHospital r = new ReportIACHospital(); r.DataSource = gridProperties.DataSource; r.ShowRibbonPreviewDialog();