Dear Reader,
I'm evaluating a few reportgenerators and luckely I found your component. Verry visual and promissing to be our choice. For testing I'm have a ODBC connection that I'm using. On my form, with just one button to start the report, I'm having two DataAdapters, one dataset containg the two table of the Adaprters. I also created a relation between the two tables. Code to start the report:
private void button1_Click(object sender, EventArgs e)
{
odbcDataAdapter1.Fill(dataSet11);
odbcDataAdapter2.Fill(dataSet11);
// At this moment the dataSet11 contains th expected data
stiReport1.RegData(dataSet11);
stiReport1.Render(true);
stiReport1.Show();
// Empty report no data to be seen?? I just dragged a column of one of the dataset-tables on my report. NO VISUAL RESULT though???
}
dataSet11 contains data as expected. The Report itself doesn't show any data?? I even just dropped one field on the report. Am I doing something wrong?
gr. Stefan
Binding Data problem with StimulReport.Net
-
- Posts: 1
- Joined: Fri Jul 14, 2006 4:48 am
- Location: Holland
Binding Data problem with StimulReport.Net
Please send your report to support[at]stimulsoft[dot]com for examination.
Thanks.
Thanks.
Binding Data problem with StimulReport.Net
You need change your code from:
odbcDataAdapter1.Fill(dataSet11, "Table1");
odbcDataAdapter2.Fill(dataSet11, "Table2");
Without changes your code fill one table with default name "Table".
Thank you.
toStefan wrote: odbcDataAdapter1.Fill(dataSet11);
odbcDataAdapter2.Fill(dataSet11);
odbcDataAdapter1.Fill(dataSet11, "Table1");
odbcDataAdapter2.Fill(dataSet11, "Table2");
Without changes your code fill one table with default name "Table".
Thank you.