Hi MSDN,
How can we multiply the values of the text boxes(reportitems) in rdlc report?
Ex. The expression of TextBoxResult report item is:
=Reportitems!TextBoxPrice.Value * Reportitems!TextBoxQuantity.Value
Thanks a lot guys in advance...
Sincerely,
Charlie
Once you converted value fields to the proper data type (CDbl is fine for converting and getting if the result is fractional, you can multiply as always:
Dim result As Double = _
CDbl(Reportitems!TextBoxPrice.Value)*CDbl(Reportitems!TextBoxQuantity.Value)
HTH.
Best regards, Saygılarımla, Onur Güzel
Yazgeliştir Forumları'ndayım.
Microsoft Haber Grupları Profilim (VB.NET)