C# .NET - how to get only sum and count of shortlisted record in crystalreport?

Asked By mani on 28-Mar-12 02:07 AM
hi..i have searching page in which i am shorlist some record based in some fields..in gridview.and i need to get only that sum of certain column amd count should be show in crystal report..any help??
Somesh Yadav replied to mani on 28-Mar-12 02:37 AM
Have a look at this very good article: http://www.codeproject.com/KB/aspnet/Crystal_report_features.aspx[http://www.codeproject.com/KB/aspnet/Crystal_report_features.aspx]
Either, it would be a running summary or a grouped one. Look which one fits in for you and implement it.
For grouping, it's already there in article. For running summary:
1. right click on report click Insert->Summary
2. select the field you want to sum
If it's too complex, use formula fields.