Posted on: 2/27/2015 6:03:37 PM | Views : 645

Hi there,
I am getting the "Conversion from type 'DBNull' to type 'String' is not valid."
Content = dbread.Item("content") If Content <> "" Then 'do stuff End if I've tried doing this:
If IsDBNull(dbread.Item("content")) Then Content = "" Else Content = dbread.Item("content") End if If Content <> "" Then 'do stuff End if And I've tried this:
Content = dbread.Item("content") If Content.ToString <> "" Then 'do stuff End if But I'm not having any luck.  Is there another way to check for null?
Thanks in advance.

Go to the complete details ...