I have a problem when viewing a report using dataset in c# with mysql database, i create it using programmatically code. i have tried many articles in the internet but my report still not showing. is it possible creating report with report viewer using C# and MySQL?
here is my code
private void reporttest_Load(object sender, EventArgs e)
{
string comm = "select * from t_pejabat";
MySqlConnection conn = new MySqlConnection(Program.konek);
MySqlCommand comd = new MySqlCommand(comm, conn);
conn.Open();
DataSet1 ds = new DataSet1();
MySqlDataAdapter da = new MySqlDataAdapter(comd);
da.Fill(ds, "isi");
conn.Close();
this.reportViewer1.Reset();
this.reportViewer1.LocalReport.DataSources.Add(new ReportDataSource("isi", ds.Tables[0]));
this.reportViewer1.RefreshReport();
}
here is the error picture error