c# code problem with crystal report . cannot print directly from my application

Job ID: 32319107

Budget: $10 – $30 USD

Hi ,
I'm having a hard time printing directly from my application to the printer . the visual studio showing me this error :
Column '' does not belong to table Co_Details.

This is my code :

ReportDocument rd = new ReportDocument();
rd.Load(Application.StartupPath + "\\Exotic_Invoice.rpt");////put your crystal report path here
rd.SetParameterValue("Invoice_No", Invoice_No);////add parameters if any
rd.SetDataSource("Server = LAPTOP - G0T1U4G4; Database = Exotic; Uid = sa; Pwd = 123;");
rd.PrintToPrinter(1, false, 0, 0);
Related categories: .NET SQL C# Programming C++ Programming Crystal Reports