سلام داداش
شرمنده که یکمی دیر شد ( سرماخوردگی و چند .قتی روی سیستم نبودم ) ..... ! ! !
داداش این کد رو من پیش رفتم :
در زمان اجرا : برای اولین بار : مشکلی که داره این هست که ویو ار گزارش بالا میاد ولی چیزی لود نمیشه !!
StiReport stiReport1 = new StiReport();
stiReport1.Compile("KARKADEKHODROTAVASOTEASHKHAS.d ll");
StiReport report1 = StiReport.GetReportFromAssembly("KARKADEKHODROTAVA SOTEASHKHAS.dll", true);
stiReport1.Dictionary.Databases.Clear();
stiReport1.Dictionary.Databases.Add(new Stimulsoft.Report.Dictionary.StiSqlDatabase("RPCon nection", con));
stiReport1.CompiledReport["@code1"] = "17_01-2";
stiReport1.CompiledReport ["@kind1"] = "2";
stiReport1.CompiledReport ["@S_Date1"] = "11/21/2012";
stiReport1.CompiledReport["@E_Date1"] = "12/20/2012";
stiReport1.CompiledReport["@KindDate1"] = 0;
rpt.ShowWithRibbonGUI();
واگر ویو ار رو ببندم و بخواد دوباره گزارش رو لود بگیرم : همچین خطای میده :
Access to the path 'F:\report_test2\report_test2\bin\Debug\KARKADEKHO DROTAVASOTEASHKHAS.dll' is denied.
با تشکر از همکاری خوب شما .