Jan 10, 2014, 11:27 AM
Yes, please remove statement related to connection string.
To get rid of next compiler errors replace statements which uses Null2String and Null2Integer with IIF statements with ISDBNull check like below.
Dim Title As String = IIf(IsDBNull(dr("Title")), "", dr("Title"))
Dim PageURL As String = IIf(IsDBNull(dr("PageURL")), "", dr("PageURL"))
Dim Summary As String = IIf(IsDBNull(dr("Summary")), "", dr("Summary"))
Dim Description As String = IIf(IsDBNull(dr("Description")), "", dr("Description"))
Dim Height As Integer = IIf(IsDBNull(dr("Height")), 0, dr("Height"))
~Thank you