passing info to txtbox on report
My reports are all in a different library and I want to pass a value to a txtbox on a report. It seems that it can be done if I create a property Pricing on the report and then pass a value to that but I would rather just pass the value directly to the txtbox.
I have used report1 rpt1 = new report1
((report1)rpt1).txtPricing = dataset.Pricing
but that does not work of course. Is there a direct way to pass a value to a report field without using properties i.e. public decimal pricing{ get{return this._pricing:} set {this._pricing = value;}}
|