I have a Sharepoint url column and retrieving the value programmatically C#. But I get the error always
Value does not fall in expected range.
I have the field URL which is a hyperlink type, I have cross checked .
SPFieldUrlValue value = new SPFieldUrlValue(item[“URL”].ToString());
string URL = value.Url;