Hi Vikar Garg,
If your crystal report is asking database password for displaying
report, then you must go for overridding the database password from your web
config file, after loding report to reportdocument object.
Following are the code;
ReportDocument rd = new ReportDocument();
/************************* Code starts here
***********************************/
TableLogInfo loginfo = new TableLogInfo();
loginfo = rd.Database.Taables[0].loginfo;
ConnectionInfo info = new ConnectionInfo();
connectionInfo.DatabaseName="";
connectionInfo.ServerName="";
connectionInfo.Password="";
connectionInfo.UserID="";
rd.Database.Tables[0].ApplyLogInfo(loginfo);
/************************* Code ends here
***********************************/
On Fri, Sep 4, 2009 at 9:39 AM, VIKAS GARG <[email protected]> wrote:
>
> Please fnds reply my post. I have still not found the solution for my
> 2 problems there.
>
> On 9/2/09, VIKAS GARG <[email protected]> wrote:
> > Third issue has been solved. I am now using one sub crystal report for
> > carrying the serial number.
> >
>
>
> --
> With Regards
> Vikas Garg
> 919458309530
>