Hi
In the code to generate an array of variables,and then bind to table in design mode (table can be edited).
Modify the array of values, how to save the array to C# code ?
Have trouble a few days.
Thank you to help
How to save modified data in preview ?
How to save modified data in preview ?
Hello,
Sorry, maybe we did not exactly understood your question. Could you explain your issue in more details.
And, if possible, send us a sample report template with data or a simple test project, which reproduces the issue?
Thank you.
Sorry, maybe we did not exactly understood your question. Could you explain your issue in more details.
And, if possible, send us a sample report template with data or a simple test project, which reproduces the issue?
Thank you.
How to save modified data in preview ?
Sorry, I means , in the c# code , how to get text box value of page??
How to save modified data in preview ?
Hello,
You can use the following code, for example:
Thank you.
You can use the following code, for example:
Code: Select all
StiReport rep = new StiReport();
rep.Load(@"d:\report.mrt");
rep.Render();
rep.Show(true);
//for save all editable fields
rep.SaveEditableFields("d:\\test.xml");
//for get textbox values list
ArrayList textValues = new ArrayList();
foreach (StiPage page in rep.RenderedPages)
{
foreach (StiComponent comp in page.GetComponents())
{
if (comp.Name == "YourComponentName")
{
string st = (comp as StiText).Text;
textValues.Add(st);
}
}
}
How to save modified data in preview ?
Thanks, I'll try it .
How to save modified data in preview ?
Hello,
Ok.
Let us know if you need any additional help.
Thank you.
Ok.
Let us know if you need any additional help.
Thank you.