Update hyperlink filed value Using ObjectModel


SPListItem olistitem= oList.GetItemById(itemidvalue);
SPFieldUrlValue FiledUrl= new SPFieldUrlValue();
FiledUrl.URL = "http://Url";
FiledUrl.Description = "URL";
olistitem["HyperLinkColumName"] = FiledUrl ;
olistitem.update();

Comments

Popular posts from this blog

IRM and the Object Model

This content database has a schema version which is not supported in this farm

Activate and Deactivate Feature through PowerShell