به لینک زیر نگاه کنید :
https://forum.stimulsoft.com/viewtopic.php?&t=2759
stiReport1.Load("..\\..\\Work with Components.mrt"); ((StiText)stiReport1.Pages["Page1"].Components["Text1"]).Text.Value = TextBox1.Text; stiReport1.Show();
این یک نمونه کده
این نمونه مخصوص کار شماست :
private void button2_Click(object sender, System.EventArgs e) { stiReport1.Load("..\\..\\Variables.mrt"); stiReport1.Compile(); //Set Variables stiReport1["Name"] = tbName.Text; stiReport1["Surname"] = tbSurname.Text; stiReport1["Email"] = tbEmail.Text; stiReport1["Address"] = tbAddress.Text; stiReport1["Sex"] = rbMale.Checked; stiReport1["BirthDay"] = dtBirthDay.Value; stiReport1.Show(); }
2,337 سوال
2,871 پاسخ
3,725 دیدگاه
3,924 کاربر