Internet Information Services
Microsoft web server software.
1,735 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
private static ReportDocument PrepareDetailedTaskReport(int taskId, int year, string month, string taskName,
string employeeName, string clientName, string status, string priority, bool includeImages)
{
ReportDocument reportDocument = new ReportDocument();
new GetTaskDetailedReportTableAdapter().Fill(ds.GetTaskDetailedReport, taskId, year, month, taskName,
employeeName, clientName, status, priority);
new TaskTrackingSystem.Data.DataSet.TrackingSoftwareTableAdapters.LogoTableAdapter().Fill(ds.Logo);
new EscalationsTableAdapter().Fill(ds.Escalations);
new SelectTaskLogTableAdapter().Fill(ds.SelectTaskLog);
new TaskImagesAllTableAdapter().Fill(ds.TaskImagesAll);
string reportLocation = ConfigurationManager.AppSettings["TaskInfoReport"];
reportDocument.Load(reportLocation);
reportDocument.SetDataSource(ds);
return
reportDocument;
}
This is my path in the web.config file
<add key="TaskInfoReport" value="C:\Users\hp\Desktop\Developer1-06042021\Desktop\Given Motswagae\OnlineOB_Lite_v2.0.1.2\TaskTrackingSystem\Task Management\Task\TaskInfoReport.rpt"/>