Answers for "add column datatable"

SQL
13

alter table add column

ALTER TABLE table
ADD COLUMN column VARCHAR (255) NOT NULL AFTER column;
Posted by: Guest on April-08-2020
2

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

Code answers related to "SQL"

Browse Popular Code Answers by Language