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

Code Example - 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);