Skip to main content
Removed urgent from title
Link
Marc D Anderson
  • 9.7k
  • 2
  • 37
  • 51

How to check if a item in a custom list have a property or not [Urgent]

Tweeted twitter.com/#!/StackSharePoint/status/230982953432395776
Source Link
Muhammad Raja
  • 9.3k
  • 7
  • 44
  • 85

How to check if a item in a custom list have a property or not [Urgent]

I added a check Check Box to a custom list library form which works well with new files uploaded and I can check the property Value by

bool.Parse(listItem.Properties["columnName"].ToString());

but how can I check Property exists or not(for list items that are already there before I added this checkbox column) as otherwise I will get a exception.