Conversion failed when converting the nvarchar value 'ID' to data type int.
ds2 = MonthCalendar1.SelectionStart.ToShortDateString
IF NOT EXISTS(SELECT 0 FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = "TimeTB" AND COLUMN_NAME = " & ds2 & ")BEGIN ALTER TABLE TimeTB ADD ["& ds2 &"] nvarchar(50) DEFAULT 'FREE' NOT NULL END
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)