Programmer:Member List and Point Balance: Difference between revisions
Content added Content deleted
No edit summary |
No edit summary |
||
Line 73: | Line 73: | ||
//Set the from and to date to future, so the BF Balance is actual member total balance |
//Set the from and to date to future, so the BF Balance is actual member total balance |
||
report.Inquire(new DateTime( |
report.Inquire(new DateTime(9900, 12, 31), new DateTime(9900, 12, 31), |
||
filterMember, filterMemberType, filterAgent, filterArea, filterDebtor, true); |
filterMember, filterMemberType, filterAgent, filterArea, filterDebtor, true); |
||
return report.DsBonusPointTransactionListing.Tables["BalanceBF"]; |
return report.DsBonusPointTransactionListing.Tables["BalanceBF"]; |
||
} |
} |
||
</syntaxhighlight> |
|||
*To call the method of '''LoadMemberBalPointByMultiSelectMember''' |
|||
<syntaxhighlight lang="csharp"> |
|||
string[] selectedMembers = { "M-0001", "M-0003" }; |
|||
LoadMemberBalPointByMultiSelectMember(selectedMembers.ToList(), mydbset); |
|||
</syntaxhighlight> |
</syntaxhighlight> |
||