If Possible of Write User defined function?

Stimulsoft Reports.NET discussion
Post Reply
MARIMUTHU K
Posts: 101
Joined: Wed Jul 26, 2006 8:03 am
Location: CHENNAI-TN, INDIA

If Possible of Write User defined function?

Post by MARIMUTHU K »

Hi hi hi

If Possible of Write User defined function?

or What is other way of write user defined Function?

I want add Lines of coding in function.

Please provide solution.

Thanks



Regards,
KMarimuthu.
Marimuthu K
Vital
Posts: 1278
Joined: Fri Jun 09, 2006 4:04 am

If Possible of Write User defined function?

Post by Vital »


In first you can place your function in report code:

Code: Select all

namespace Reports
{
    
    public class Report : Stimulsoft.Report.StiReport
	{
		
		private string MyFunction()
		{
			return "123";
		}
        
        public Report()
        {
            this.InitializeComponent();
        }
In second you can create class with static methods. After then you can use it in reports:

How_to_Add_My_Function
Post Reply