hello every one, ihave report with a calculated column in data source in c# How Can i use calculated column, i mean when i regdata my data table, because i dont have calculated column in my data table my report has problem, how can i regdata my report. in attached file i send you my report.
thanks a lot.
use calculated column in regdata
use calculated column in regdata
- Attachments
-
- RptSrvSuggestionItm.mrt
- (42.38 KiB) Downloaded 436 times
Re: use calculated column in regdata
Hello,
Try to use the following code:
Thank you.
Try to use the following code:
Code: Select all
StiCalcDataColumn col = new StiCalcDataColumn("Column", "Column", typeof(double), "dtSuggestItm.Importance*dtSuggestItm.Rank");
report.Dictionary.DataSources["dtSuggestItm"].Columns.Add(col);
Re: use calculated column in regdata
thanks a lot for your reply, that's too userful for me.
Re: use calculated column in regdata
Hello,
That is a pleasure to help you.
Thank you.
That is a pleasure to help you.
Thank you.