DataTable dt = new DataTable();
dt.Columns.Add("Room Course ");
dt.Columns.Add("Room Course ");
dt.Columns.Add("Room Course ");
Add value to data table:
dt.Rows.Add(11,21,31);
dt.Rows.Add(12,22,32);
.
.
And bind you grid view:
GridView1.DataSource = dt;
GridView1.DataBind();
If this one help to you accept as answer and vote pls.