1.In CrystalReports, i am displaying dynamic Report Title text..and if it is too long an exception is coming..
2.How to bind data to a non Database Field in CrystalReports
Loading
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Javeed M ShaikhRank #839 · 2.7K reputationPosted Oct 13, 2011, 9:57 AM EDT
Please tell us more about the exception you are getting.
Mahesh ChandRank #1 · 393.3K reputationPosted Oct 13, 2011, 9:59 AM EDT
Prabhu RajaRank #861 · 2.6K reputationPosted Oct 13, 2011, 10:05 PM EDT
Right Click That Field -> Select Format Object -> Check Can Grow checkBox Under Common Tap
Mayur GujrathiRank #666 · 3.6K reputationPosted Oct 13, 2011, 11:12 PM EDT
Whatever the length of text you can set it in config file and then pass it crystal report as parameter after creating parameter in crystal report which will be a non database field
try following
create one parameter in crystal report name(non database field)
CrystalDecisions.CrystalReports.Engine.ReportDocument rptdocument = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
rptdocument.Load(rptpath);
crystalReportViewer1.ReportSource = rptdocument;
string name1= ConfigurationManager.AppSettings.Get("name");
rptdocument.SetParameterValue("name", name1);
if you dont know how to create parameter in crystal report(non database field ) then reply