CrystalReportfeespy feespay = new CrystalReportfeespy(); OleDbConnection con9 = new OleDbConnection(); con9.ConnectionString = ConfigurationSettings.AppSettings["connection"]; con9.Open(); OleDbCommand cmd9 = new OleDbCommand("select * from StudentFeesPay where ReciptNo=@rcptno AND RegId=@rg ", con9); cmd9.Parameters.Add(new OleDbParameter("@rcptno", txtReciptNo.Text)); cmd9.Parameters.Add(new OleDbParameter("@rg", txtRegId.Text)); OleDbDataAdapter da9 = new OleDbDataAdapter(); da9.SelectCommand = cmd9; DataSetFeesPayment ds9 = new DataSetFeesPayment(); da9.Fill(ds9, "StudentFeesPay"); feespay.SetDataSource(ds9); crystalReportViewer1.ReportSource = feespay;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)