- Messages
- 23
- Reaction score
- 0
- Points
- 26
eto ung ginawa kong sample sa nagpatulong din...
Code:Dim newRDS As New ReportDataSource 'bale eto instantiate ka ng new report source 'ganito pala ngyari,nag add ako ng dataset control then naglagay ako ng datatable which is pareho sa output ng query(mga fields/col) 'then add ka new new item reporting/reportwizard 'point mo kung anong datasource,kunin mo ngayn ung ginawang dataset control 'next next mo lng newRDS.Name = "productDS" 'eto ung name ng dataset sa report wizard newRDS.Value = ds.Tables(0) 'fill out na natin Dim rep As LocalReport = ReportViewer1.LocalReport 'instantiate rep.ReportPath = "F:\POLENS STUFF\VB Projects\ReportSample\ReportSample\rpProduct.rdlc" 'source or path ng report rep.DataSources.Add(newRDS) 'add Me.ReportViewer1.RefreshReport()
bale ang nangyari gumawa ako ng dummy dataset na object then add ako ng table para merong parameters sa reportviewer..
pano nya po sir kukunin yong mga record sa MySql?