public static XtraReport BindReport(uint fileID, DataSet data)
        {
            using (var db = DB.GetContext())
            {
                var file = db.FileObjects.Where(f => f.FileID == fileID).FirstOrDefault();

                return(ReportBinder.BindReport(new ReportFile(data, file.FileBlob)));
            }
        }
        public static void ShowReport(ReportFile report)
        {
            var xtraRep = ReportBinder.BindReport(report);

            xtraRep.ShowPreviewDialog();
        }