OleDbConnection DBConn = new OleDbConnection("provider = microsoft.jet.oledb.4.0;" + "data source=" + Form1.path); OleDbDataAdapter myDataAdapter = new OleDbDataAdapter(strSQL2, DBConn); DataSet dataReport = new DataSet(); myDataAdapter.Fill(dataReport, "wtdetail"); Weighmet1 myDataReport = new Weighmet1(); myDataReport.SetDataSource(dataReport); crystalReportViewer1.ReportSource = myDataReport;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)