my error is Logon failed my database on ODBC DataBase Type Sql AnyWhere8 but when i create my report he connect database is Successfully
My problem
When I run the program show me screen contact for the DataBaseand I am already in contact code written sentences and username and password i need Know Where The error in my code
Plz Help
my Code
ReportDocument crystalReport = new ReportDocument();
crystalReport.Load(Application.StartupPath + "\\" + "v_agl_assistant_ledger_a.rpt");
crystalReport.SetDatabaseLogon("dbo", "dbo", "ODBC; Driver=Sybase SQL Anywhere 8.0", "DC", true);
crystalReport.SetParameterValue("datFrom", Dat_from.Value);
crystalReport.SetParameterValue("datTo", Dat_To.Value);
crystalReportViewer1.ReportSource = crystalReport;
crystalReportViewer1.Visible = true;