what is problem?
hi. help me please.
i have this codes but
return
DataTableException was unhandled error to me,
i have this codes but
return
DataTableException was unhandled error to me,
DataRow row = dataSet1.Tables["Table1"].NewRow();
row[0] = "satir1";
row[1] = "satir2";
dataSet1.Tables[0].Rows.Add(row);
report1 = new Report();
dataGridView1.DataSource = dataSet1.Tables[0];
report1.Load(@"c:\denemerapor.frx");
report1.RegisterData(dataSet1.Tables["Table1"], "Table1");
// report1.GetDataSource("Table1").Enabled = true;
report1.GetDataSource("Table1");
report1.Show();
Comments
Probably your report has different datasource name. Open the .frx file in the text editor and look at the Report/Dictionary/TableDataSource item, its "ReferenceName" property. You should use the same name when you register a data with the report.RegisterData call.