Data Source=my_pc-PC\my_servername;Integrated Security=True;Initial Catalog=my database_name
Stimulsoft.Report.Components.StiText t = new Stimulsoft.Report.Components.StiText(); t.Text = DateLabel.Text; string str4 = Decrypt(Request.QueryString["select_rep_"]); if (str4 == "1") { string str1 = Decrypt(Request.QueryString["fromdate_"]); string str2 = Decrypt(Request.QueryString["todate_"]); string ConnectionString = ConfigurationManager.ConnectionStrings["my_ejraConnectionString"].ConnectionString; string serverlocation = HttpContext.Current.Server.MapPath(string.Empty); StiReport myreport = new StiReport(); myreport.Dictionary.Databases.Add(new Stimulsoft.Report.Dictionary.StiSqlDatabase("Coneection", ConnectionString)); t.Text = DateLabel.Text; myreport.Load(serverlocation + "\\rep\\myreport.mrt"); myreport.Dictionary.Variables["fromdate"].Value = str1; myreport.Dictionary.Variables["todate"].Value = str2; myreport.Dictionary.Variables["today"].Value = t.Text; StiWebViewer1.Report = myreport; }`enter code here`
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)