PDA

View Full Version : ارور در نمایش گزارش stimulreport



En_MK
جمعه 27 تیر 1393, 07:54 صبح
سلام
من اینطوری کد نویسی کردم در event click یک دکمه:
ds.Tables[0].TableName = "DataSource1";
StiReport rp = new StiReport();
rp.Dictionary.Databases.Clear();
rp.Compile();
rp.Load("Reports\\Users\\stmUserInfoInApr.mrt");

rp.RegData(ds);
rp.Dictionary.Synchronize();
rp.Render();
//StiOptions.Viewer.AllowUseDragDrop = false;
rp.Show();

ار event میاد بیرون وارور میده:


Unhandled exception has occurred in a component in your application. If you click Continue, the application will ignore this error and attempt to continue


چرا؟؟؟