Carlos kambui

Carlos kambui

  • NA
  • 499
  • 125.5k

c sharp stimulsoft report

Jul 18 2016 1:40 AM
 my report load with blank page kindly assist
below are my codesunder btnclick  and under class
[code]
private void btnprint_Click(object sender, EventArgs e)
{
int busobjLevel = 1;
tcustomers = svcclient.Getcustomers();
StiReport report = new StiReport();
report.Load(Application.StartupPath + "\\customerlist.mrt");
report.ReportAuthor = staff.staff_other_names;
report.ReportDescription = "Customer List";
report.RegBusinessObject("Stocksales", new Report.Customerlist(tcustomers));
report.Compile();
report.Show(true);
}
[/code]
class report
[code]
public class Customerlist
{
private List<Customertype> tcustomer = new List<Customertype>();
CompanyType tCompany = new CompanyType();
public List<Customertype> custrans
{
get { return tcustomer; }
set { tcustomer = value; }
}
public CompanyType companydetails
{
get { return tCompany; }
set { tCompany = value; }
}
public Customerlist(List<Customertype> tcustrans)
{
custrans = tcustrans;
companydetails = tCompany;
}
}
[/code]
[img]
[/img]
 

Attachment: customerlist.rar

Answers (1)