C# FastReport RunTime Report.Design Problem
Friends Project Data with Datatable Extracts Data and Prints Report Lakin This Project Is Not Under the Following Method I Receive an Error Like Below Zero Project I Aip I Have No Problem
Error 'System.NullReferenceException' in FastReport.dll
I encode
using (Report report = new Report())
{
DataTable dt = new DataTable();
SqlDataAdapter adp = new SqlDataAdapter(prc, Tools.Baglanti);
adp.SelectCommand.CommandType = CommandType.StoredProcedure;
adp.Fill(dt);
report.RegisterData(dt, "dt");
report.Load(Application.StartupPath + "\\MusteriBorcRaporlari.FRX");
//report.Show();
report.Design();
}
Error 'System.NullReferenceException' in FastReport.dll
I encode
using (Report report = new Report())
{
DataTable dt = new DataTable();
SqlDataAdapter adp = new SqlDataAdapter(prc, Tools.Baglanti);
adp.SelectCommand.CommandType = CommandType.StoredProcedure;
adp.Fill(dt);
report.RegisterData(dt, "dt");
report.Load(Application.StartupPath + "\\MusteriBorcRaporlari.FRX");
//report.Show();
report.Design();
}
Comments