Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Report Design
Message Icon Topic: Error while binding stored procedure to report Post Reply Post New Topic
Author Message
bhaskarreddy
Newbie
Newbie


Joined: 07 Oct 2008
Location: India
Online Status: Offline
Posts: 3
Quote bhaskarreddy Replybullet Topic: Error while binding stored procedure to report
    Posted: 07 Oct 2008 at 3:07am

Regarding Crystal Report XI
By using the Embeddable crystal report control 11.5 I am trying to design the report.
By selecting schema(xml) file i am able to saving the reports.
In the same way i want the reports by using stored procedure.
Please help me in this issue.
i am placing the code to bind stored procedure to the report and the error as below
"This property is currently in read-only state and can't be modified".

 using CRAXDDRT;

  CRAXDDRT.Report DynamicReport;
 foreach (DatabaseTable DBTable in DynamicReport.Database.Tables)
  {
               CPProperties = DBTable.ConnectionProperties;
               //assigning the dll to dbtable
               try
               {
               DBTable.DllName = "crdb_ado.dll";//error here
               }
               catch { }
               CPProperties.DeleteAll();
 DBTable.ConnectBufferString = "Provider=SQLOLEDB;" + objCon.ConnectionString;//error here
}

Bhaskar Adapala,
SE,India
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.016 seconds.