I can't seem the add calculated colums to my project.
E.G. I add Math.Round(2*2,2) as the formula,
but get the error unknown type or namespace LieferscheinObjekt (My Dataset name)
This is code is created by Stmulreport:
public virtual double Column
{
get
{
return ((LieferscheinObjekt)(this.Dictionary.Report)).Getdbo_ReportLSObjekt_Column();
}
}
Thanks!
Calculated Colums
Calculated Colums
Please try to add the following expression as the formula:
C# compiler can't compile expression Math.Round(2*2,2). In the Error List you can see:
Error 6 The call is ambiguous between the following methods or properties: 'System.Math.Round(double, int)' and 'System.Math.Round(decimal, int). You need to specificate double or decimal argument for method Round.
Thanks.
Code: Select all
Math.Round(2d*2d,2) or Math.Round(2*2.0,2)
Error 6 The call is ambiguous between the following methods or properties: 'System.Math.Round(double, int)' and 'System.Math.Round(decimal, int). You need to specificate double or decimal argument for method Round.
Thanks.
Calculated Colums
That, sadly still does not work.
The erros is:
"The type of namespace 'LieferscheinObjekt' could not be found.
LieferscheinObjekt of my DataSet. The Error is in this lines:
public virtual double Column
{
get
{
return ((LieferscheinObjekt)(this.Dictionary.Report)).Getdbo_ReportLSObjekt_Column();
}
}
The erros is:
"The type of namespace 'LieferscheinObjekt' could not be found.
LieferscheinObjekt of my DataSet. The Error is in this lines:
public virtual double Column
{
get
{
return ((LieferscheinObjekt)(this.Dictionary.Report)).Getdbo_ReportLSObjekt_Column();
}
}
Calculated Colums
Please select Report object in Designer's Properties Editor and try to add LieferscheinObjekt in Report ReferensedAssemblies string collection.
If it will not helps or it is another object please send your report to support[at]stimulsoft[dot]com.
Thanks.
If it will not helps or it is another object please send your report to support[at]stimulsoft[dot]com.
Thanks.
Calculated Colums
Problem solved.
Thanks.
Thanks.