Creating reports and dashboards | Stimulsoft community forum
Reporting tool and data analytics tools for creating reports and dashboards in ASP.NET, ASP.NET MVC, .NET Core, Blazor, Angular, PHP, Python, WPF, JavaScript, and Java applications.
Here you are.
In the BeforePrintEvent of the DataBand (or any other container) in which text components have been placed, you can write something like this:
if (MyDataSource.Mycolumn == "MyValue")MyStiText.Brush = new Stimulsoft.Base.Drawing.StiSolidBrush(System.Drawing.Color.Red);
else MyStiText.Brush = new Stimulsoft.Base.Drawing.StiSolidBrush(System.Drawing.Color.Green);
Hi every body.
I sea allmost all topic in forum and seem int all of them posit that we know what is our tables and columns in dataset of our reportbut allways not thus
1-sometime we may want to edit the report in webdesigner that we dont know any thing about its data set but we sure it works with our data base , so befor call the design() function we pass what data set to our report via regdata(//what_dataset) ??
2- or we may want to set full access to data base to one user to create the every report that need to design well we pass a full data base to designer dictionary and he/she design every report by every columns in every tables or viwes in database and save it , in viwe report mode namely after load our report and we want to pass it to stiwebviewer we pass what data set to it since we cant pass all data base to our report ??!