how to solve the problem with retriving data in fastreport?
hi all
i have a program and i want show data in Dataset to FastReport and i used below code:
string constr = @Provider=Microsoft.Jet.OLEDB.4.0;Data Source=H:\C#\projects\Accounting\data\kharazm.mdb;Persist Security Info=True;
OleDbConnection con = new OleDbConnection(constr);
OleDbDataAdapter da = new OleDbDataAdapter("select * from income_view",con);
DataSet ds = new DataSet();
da.Fill(ds, "income_view");
report1.RegisterData(ds);
report1.Load(@c:\test.frx);
FastReport.Data.DataSourceBase tables = this.report1.GetDataSource("income_view");
tables.Enabled = true;
report1.Prepare();
report1.Show();
but this problem is here that when show data in fastreport in 1th time , these data show to other calling fastreport.show
how to set data for fastreport that show data in dataset in realtime?
please help me?
i have a program and i want show data in Dataset to FastReport and i used below code:
string constr = @Provider=Microsoft.Jet.OLEDB.4.0;Data Source=H:\C#\projects\Accounting\data\kharazm.mdb;Persist Security Info=True;
OleDbConnection con = new OleDbConnection(constr);
OleDbDataAdapter da = new OleDbDataAdapter("select * from income_view",con);
DataSet ds = new DataSet();
da.Fill(ds, "income_view");
report1.RegisterData(ds);
report1.Load(@c:\test.frx);
FastReport.Data.DataSourceBase tables = this.report1.GetDataSource("income_view");
tables.Enabled = true;
report1.Prepare();
report1.Show();
but this problem is here that when show data in fastreport in 1th time , these data show to other calling fastreport.show
how to set data for fastreport that show data in dataset in realtime?
please help me?