Ниже приведен мой код, dt
- мой DataTable
, reObj.datetodate()
- мой метод для вызова хранимой процедуры
beObj.CurrentDate = DTPStartDate.Value;
beObj.EndDate = DTPEndDate.Value;
dt= reObj.datetodate(beObj);
DateToDateReport rdc = new DateToDateReport();
rdc.DataSource = dt;
rdc.CreateDocument();
documentViewer1.DocumentSource = rdc;