Answers for "how-to-add-new-column-with-value-to-the-existing-datatable"

C#
0

how-to-add-new-column-with-value-to-the-existing-datatable

System.Data.DataColumn newColumn = new System.Data.DataColumn("Foo", typeof(System.String));
newColumn.DefaultValue = "Your DropDownList value";
table.Columns.Add(newColumn);
Posted by: Guest on November-02-2021

Code answers related to "how-to-add-new-column-with-value-to-the-existing-datatable"

C# Answers by Framework

Browse Popular Code Answers by Language