Hi techies,
I have created one column say PublishingImage of PublishingImage
Type and added it in custom list.
Used this column to upload image. But not able to fetch its URL.
Used the below line to fetch the Url:
SPFieldUrlValue oUrl = new SPFieldUrlValue(Convert.ToString(item["PublishingImage"]));
and assigned the oUrl to Datarow like this:
dr["Image"] =oUrl.Url;
but still not getting the proper URL.
Any help will be appreciated