升級了fastreport到v2018后,打印出現問題,datasource是多條數據,可打印出來始終只顯示第一條
DataBand dataBand = report.FindObject("Data1") as DataBand;
var v = report.GetDataSource("D");
v.Enabled = true;
dataBand.DataSource = v;
在新版本中,綁定數據源前需要設置數據源得Enabled屬性為true,默認是false
升級了fastreport到v2018后,打印出現問題,datasource是多條數據,可打印出來始終只顯示第一條
DataBand dataBand = report.FindObject("Data1") as DataBand;
var v = report.GetDataSource("D");
v.Enabled = true;
dataBand.DataSource = v;
在新版本中,綁定數據源前需要設置數據源得Enabled屬性為true,默認是false
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。