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?

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.