DataTable dtTable = new DataTable(); DataRow row; // 建立欄位dtTable.Columns.A. ... Rows.Add(row); } GridView1.DataSource = dtTable; GridView1.DataBind();.
確定! 回上一頁