Report report = new Report();// register the "Products" tablereport.RegisterData(dataSet1.Tables["Products"], "Products");// enable it to use in a reportreport.GetDataSource("Products").Enabled = true;// create A4 p…
Dim iHeight As Double Dim columnData_form As DataSourceBase iHeight=Page1.TopMargin columnData_form=Report.GetDataSource("rpt_PurInDepart_Detail") columnData_form.Init For i As Integer =1 To iSelectRows …