如上图,我如何去除多余的那个 RecordDate,in,out 那一行?
dsCompanyRecords ds = new dsCompanyRecords();
sqlDA.Fill(ds,"TCompany"); //Fill the dsCompanyRecords from my database
ReportDocument myReport = new ReportDocument();
myReport.Load("rptCompany.rpt");
myReport.SetDataSource(ds);
crystalReportViewer.ReportSource = myReport;
dsCompanyRecords ds = new dsCompanyRecords();
sqlDA.Fill(ds,"TCompany"); //Fill the dsCompanyRecords from my database
ReportDocument myReport = new ReportDocument();
myReport.Load("rptCompany.rpt");
myReport.SetDataSource(ds);
crystalReportViewer.ReportSource = myReport;
RecordDate In Out Balance Reason 字段的内容都不会重复的。
所以应该不是重复记录的问题
@wxr0323,我很想知道为什么是“去重”问题?
对于
1,AA,US-001,US,1/1/2007,100,50,50,Buy toys
2,AA,US-001,US,2/1/2007,50,0,150,Earn
这个应该是不同的记录吧?