I\'m trying to make a DataTable and then add a couple rows to it. Here\'s my code:
using System; using System.Collections.Generic; using System.Linq; using
You first need to add the row:
dt.Rows.Add(dr);
Then you must call below method to commit it:
dt.AcceptChanges();