Thanks Jan. I already accessed with syntax rpt["MyVariable"]
Now i want update variable MyVariable with new value after convert it to Words
Code: Select all
rpt.RegData("SqlDS_Contract", dt);
rpt.Render();
// After rpt.Render() i can access correct value of MyVariable with rpt["MyVariable"]
ReadNumber rn = new ReadNumber(Convert.ToInt64(rpt["MyVariable"]));
string strWord = rn.reader(); // Convert decimal to Words
((Stimulsoft.Report.Components.StiText)rpt.GetComponentByName("txtTotalPriceinWord")).Text.Value = strWord;
But new value cant update to txtTotalPriceinWord. Can I rerender txtTotalPriceinWord with new value?
I already try again rpt.Render(); but not affect
Sorry my bad english