Hi,
1. while Designing report is it possible to put all conditions in c# code instead of conditions and Expression?how to do that ?
2. how to view c# code of perticular report and debug it at run time?
how to design report using c# code
-
- Posts: 8
- Joined: Fri Mar 25, 2011 3:28 am
- Location: mumbai
how to design report using c# code
Hello,
Thank you.
You can use the following code:swapnali2282 wrote:1. while Designing report is it possible to put all conditions in c# code instead of conditions and Expression?how to do that ?
Code: Select all
StiCondition cond = new StiCondition("{Categories.CategoryID == 1}", System.Drawing.Color.Red, System.Drawing.Color.Transparent, new System.Drawing.Font("Arial", 8F), false);
dataBand.Conditions.Add(cond);
In this case you need to save a report as CSharp files and add it to your project.swapnali2282 wrote:2. how to view c# code of perticular report and debug it at run time?
Thank you.