Binding Data problem with StimulReport.Net
Posted: Fri Jul 14, 2006 4:53 am
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
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