In ASP.NET I wish to empty/clear/reset the contents on an Image
data type in SQL Server.
I will then later check to see if this column is empty/null - if not, I will output the image.
Can you tell me the necessary C#? Here is what I have presently...
newsItem.Image1 = null;
dataContext.SubmitChanges();
The above actually gives me "0x" when I look through SQL Server Management Studio, so its not actually empty.
Many thanks!
If it is Nullable in DB then use
else