One of a set of tools we're offering as a way of saying thank you for being a part of the community.
'This is query from which I am creating DataSet SELECT tblbatch.BatchName, tblsheet.EngagedBy, tblsheet.LectureNo, tblsheet.NoOfStudents, tblsheet.Topic, tblsheet.[Date], tblsheet.[Day], tblsubject.SubjectName, tblterm.TermName, tbltime.[Time], tblperiod.PeriodName FROM (((((tblbatch INNER JOIN tblsheet ON tblbatch.BatchId = tblsheet.BatchId) INNER JOIN tblsubject ON tblsheet.SubjectId = tblsubject.SubjectId) INNER JOIN tblterm ON tblsheet.TermId = tblterm.TermId) INNER JOIN tbltime ON tblsheet.TimeId = tbltime.TimeId) INNER JOIN tblperiod ON tblsheet.PeriodId = tblperiod.PeriodId) '----- Report Code ------------- 'Create Report Document to Load Report and Parameters for Report. Dim dbRep As New ReportDocument 'Load Report from Specified path to Report document object. dbRep.Load(ReportPath) 'Load DataSet (created from above query) into Report. dbRep.SetDataSource(dbDS.Tables("tblsheet")) 'Bind Report Document to CrystalReportViewer to Show Report. CrystalReportViewer1.ReportSource = dbRep
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.