I want to create a column in the list programmatically. I tried this, and it created the column. But I would like to check if the list column already exist and if column does not exist, would like to create the column. How to check if a list column
exists and if it does not exist, create the list column.
I have used this code:
MyList = currentweb.Lists[Constants.listname];
MyList.Fields.Add("FilesCount", SPFieldType.Number, false);
View Complete Post