hey please help me.....
my code works good but its asking me for parameter when i am clicking on any text on report and even when i am tring to export this to acrobate.......
please please help me some one.....
thanks
private string strDailyKey = ConfigurationManager.AppSettings["DailyKey"].ToString();
protected void Page_Load(object sender, EventArgs e)
{
ReportDocument cryRpt = new ReportDocument();
TableLogOnInfos crtableLogoninfos = new TableLogOnInfos();
TableLogOnInfo crtableLogoninfo = new TableLogOnInfo();
ConnectionInfo crConnectionInfo = new ConnectionInfo();
Tables CrTables;
crConnectionInfo.ServerName = clsConfig.ServerName;
crConnectionInfo.DatabaseName = clsConfig.DatabaseName;
crConnectionInfo.UserID = clsConfig.UserId;
crConnectionInfo.Password = clsConfig.Password;
cryRpt.Load(clsConfig.strDailyKey);
CrTables = cryRpt.Database.Tables;
foreach (CrystalDecisions.CrystalReports.Engine.Table CrTable in CrTables)
{
crtableLogoninfo = CrTable.LogOnInfo;
crtableLogoninfo.ConnectionInfo = crConnectionInfo;
CrTable.ApplyLogOnInfo(crtableLogoninfo);
}
CrystalReportViewer1.ReportSource = cryRpt;