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();
}

Comments

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.