If you would like to set the null value for sharepoint datetime column using object model then one update for u.
1. u can't update the sharepoint datetime field by
item["EndDate"] = string.Empty;
item["EndDate"] = null
this both wil not work.
this has been fixed in sharepoint SP1. and if you are using sharepoint SP1 then u can use the null value to set the datetime field value as blank.
item["EndDate"] = null ( only MOSS SP1 or later)
Tx.
Labhesh Shrimali
Subscribe to:
Post Comments (Atom)

No comments:
Post a Comment