if (!dt.Columns.Contains("BDate")) { DataColumn dc1 = new DataColumn("BDate", typeof(DateTime)); dt.Columns.Add(dc1); }