Crystal Report

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bujjai
    New Member
    • May 2007
    • 8

    Crystal Report

    Hi

    I want to generate crystal report.....
    send me code or url which one is best for solve the problem...

    using C# vs2.0, sqlserver 2005,
    send me as early as possible...
    thanks in advance


    Rayudu
  • Shanaj
    New Member
    • Jan 2007
    • 51

    #2
    Originally posted by bujjai
    Hi

    I want to generate crystal report.....
    send me code or url which one is best for solve the problem...

    using C# vs2.0, sqlserver 2005,
    send me as early as possible...
    thanks in advance


    Rayudu

    to create a crystal report right click project->add new item->select crystal report and click ok. now u can select report type click ok->select the connection type ..follow the steps ..->u will get the database select the table u want ->next -> in that select field u want ->u can go for more options or u can finish it-> and click ok. u will get the report.

    to view that one drag crystal report viewer in a windowsform/webform -> double click that one inside that

    //write code as

    //for c#

    crystalreport1 cr1 = new crystalreport1( );
    crystalreportvi ewer.ReportSour ce = cr1;

    //for vb

    dim cr1 as new crystalreport1( );
    crystalreportvi ewer.ReportSour ce = cr1;

    //show thw fom

    Comment

    Working...