RPT.DataSet_Car_id ds = new RPT.DataSet_Car_id(); SqlDataAdapter dataAdapter = new SqlDataAdapter(s, con); dataAdapter.Fill(ds.Tables["Car_Details"]); //RPT.CrystalReport_Car_id report = new RPT.CrystalReport_Car_id(); report.SetDataSource(ds.Tables["Car_Details"]); ParameterField PField = new ParameterField(); ParameterDiscreteValue pdValue = new ParameterDiscreteValue(); PField.Name = "Date_from"; pdValue.Value = dtp_Date_from; PField.CurrentValues.Add(pdValue); PField.a frm.crystalReportViewer_Car_id.ReportSource = report; frm.crystalReportViewer_Car_id.Refresh(); frm.Show();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)