ورود

View Full Version : Keyword not supported: 'driver'



ahmad156
یک شنبه 14 اسفند 1390, 19:57 عصر
سلام دوستان

چرا خطا میده؟

string conn = "Server=localhost;Driver={MYSQL ODBC 5.1 Driver};DataBase=test;uid=root;pwd=root";
report.Dictionary.Databases.Add(new Stimulsoft.Report.Dictionary.StiSqlDatabase("con", conn));
Stimulsoft.Report.Dictionary.StiOdbcSource source = report.Dictionary.DataSources["ds"] as Stimulsoft.Report.Dictionary.StiOdbcSource;
source.SqlCommand = "select * from person";
report.Compile();
StiWebViewer1.Report = report;


datatable ای که توی Stimul ساختم باید همه فیلدهاش رو مشخص کنم یا خودش تولید میکنه؟
ممنون