dt = new DataTable();
dt.Columns.Add("Industries", typeof(string));
dt.Columns.Add("Project", typeof(string));
dt.Columns.Add("FolderName", typeof(string));
dt.Columns.Add("FolderPath", typeof(string));
dt.Columns.Add("Date", typeof(string));
foreach (DataRow dr in dto)
{
dt.ImportRow(dr);
}
dt.AcceptChanges();
No comments:
Post a Comment