Dim ds as new dataset ds.tables.add("dt1") ds.tables("dt1").columns.add("c1") ds.tables("dt1").columns.add("c2") ds.tables("dt1").rows.item("c1") = textbox1.text ds.tables("dt1").rows.item("c2") = textbox2.text ds.tables("dt1").AcceptChanges() dim oRpt as Testrpt oRpt.setDatasource=(ds.tables("dt1")) Test.CrystalReportViewer1.Reportsource=oRpt Test.show()
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)