Quantcast
Channel: SQL Server Reporting Services
Viewing all articles
Browse latest Browse all 1418

how to solve this error, in crystal report

$
0
0

while compiling getting  "load report failed" error showing

public void billcry()
{

// ReportDocument cryRpt = new ReportDocument();
CrystalRpt = new ReportDocument();
CrystalRpt.Load(Server.MapPath("CrystalReport1.rpt"));

conn.Open();
cmd = new SqlCommand("select company.name ,purchase.prudcutname from comapny inner join purchase on comapny.comapny_id=purchase.purhcase_id where purchase.purchase.id='"+purc_id.Text+"'"con);


conn);
ad = new SqlDataAdapter(cmd);
dt=new DataTable();
ad.Fill(dt);
conn.Close();

CrystalRpt.SetDataSource(dt);
CrystalReportViewer1.ReportSource = CrystalRpt;

}


Viewing all articles
Browse latest Browse all 1418

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>