Skip to Content
avatar image
Former Member

Database Fields Verify Database - By Programaticaly

Hi to all,

I'm using Crystal Report 11.5, Visual studio 2005 - C#,Asp.Net2.0.

My task is by programaticaly add the

Fieldsobjects,Blobobjects and so on. So in design time i just

add the Datatable in the CR,

but during runtime i add some columns in database Table and i get that newly added column but unable to add this field

(Raised error as "Field Not Found") so what i tried is during

design time in

Field Explorer>Database Fields>Right Click and Select

Verify Database after this work my page is working fine.

My questions is how to do the same work programaticaly.

Experts please explain.

Thanks in Advance

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Sep 02, 2008 at 05:31 AM

    Yes i found the way it's very simple

    ReportDocument boReportDocument = new ReportDocument ();

    boReportDocument.VerifyDatabase();

    Thats all

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 05, 2008 at 07:53 AM

    this is a good code

    Add comment
    10|10000 characters needed characters exceeded