I have been working on my system and i would like to display data from table onto a data grid view on my form. I have wrote this code, and when I run it, no eeors are displayed, but when i refresh my dataset, no tables are added. I dont know where i made a mistake.
ClashDatabaseSQLDataSet.Tables.Add("tbl" & ExamCode)
DataGridView1.DataSource = ClashDatabaseSQLDataSet
DataGridView1.DataMember = ("tbl" & ExamCode)