指定每個欄位要儲存的資料 row["Date"] = startDate.ToString("yyyy/MM/dd"); row["Count"] = "0"; //新增資料至DataTable的dt內 dt.Rows.Add(row);
確定! 回上一頁