I m new in C# and Irch? 如果我能够使用的话,插手告诉我如何使用。 我指的是将价值观划分为变量,或像这种变量。
我有购买和付款表。 在我的报告中,我需要从这两个表格中提取具体栏目,例如,
[PurchaseNo] [PaymentDate] [PurchaseAmount] [PaymentAmount]
c1 12/3/2012 1000 200
12/4/2012 1000 500
-------------------------------------------------------------------
SubTotal 1000 700
--------------------------------------------------------------------
c2 12/3/2012 900 300
12/4/2012 900 500
-------------------------------------------------------------------
SubTotal 900 800
--------------------------------------------------------------------
Total 1900 1500
律师联盟就是这样,但当它创立了RDLC并管理它的时候。
[PurchaseNo] [PaymentDate] [PurchaseAmount] [PaymentAmount]
c1 12/3/2012 1000 200
12/4/2012 1000 500
-------------------------------------------------------------------
SubTotal 2000 700
--------------------------------------------------------------------
c2 12/3/2012 900 300
12/4/2012 900 500
-------------------------------------------------------------------
SubTotal 1800 800
--------------------------------------------------------------------
Total 3800 1500
that s the problem i m currently having now.. I don t know to add the PurchaseAmount and Payment can t be paid in one day.. so what I think is I ll create a variable in RDLC and in RDLC, I ll use IIf function to check if the PurchaseNo is equal or not. If it s equal, I ll avoid adding PurchaseAmount.. and store in the variable. Or is there any ways pls tell me!
任何人都知道,他们帮助我!