Click here to Skip to main content
15,922,512 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,
I wrote the following code for use of StimulSoft Report, Which this code is working correctly on the local(my computer)
Except for the change of address, what should I do?

C#
protected void Page_Load(object sender, EventArgs e)
    {
        PersianCalendar pc = new PersianCalendar();
        string ShamsiDate_C = pc.GetYear(DateTime.Now).ToString()
                            + "/" +
                            pc.GetMonth(DateTime.Now).ToString()
                            + "/" +
                            pc.GetDayOfMonth(DateTime.Now).ToString();
                             
        StiReport Report1 = new StiReport();
        Report1.Load("C:\\Users\\mst\\Documents\\Visual Studio 2010\\WebSites\\Store\\report\\Report_Store.mrt");
                       
        StiVariable sv = new StiVariable("Date", "ShamsiData", typeof(string), ShamsiDate_C, false);
        Report1.Dictionary.Variables.Add(sv);
        StiWebViewer1.Report = Report1;
    }
Posted
Updated 19-Jun-13 5:52am
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900