Report Design
 Crystal Reports Forum : Crystal Reports for Visual Studio 2005 and Newer : Report Design
Message Icon Topic: Asking for parameter again and again Post Reply Post New Topic
Author Message
neha_patel
Groupie
Groupie
Avatar

Joined: 06 Oct 2010
Location: United States
Online Status: Offline
Posts: 44
Quote neha_patel Replybullet Topic: Asking for parameter again and again
    Posted: 15 Oct 2010 at 6:22am

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;

IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.047 seconds.