Answers for "datatable.columns c# add"

C#
1

add new column in data table c#

> dt.columns.Add("ColumnName", typeof(Give the type you want));
> dt.Rows[give the row no like  or  or any no]["Column name in which you want to add data"] = Value;
Posted by: Guest on June-17-2021

C# Answers by Framework

Browse Popular Code Answers by Language