Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11571

How to set date and name column to null

$
0
0
 

I need to set date time and name columns to null. Here is my code. I have tried “” and null and I got errors.

item["Requestor"] =null;

item["Request Date"] =null;

item["Return Date"] = "";

item["Technician"] ="";

item.Update(); 

Please advice. Many thanks.



Viewing all articles
Browse latest Browse all 11571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>