Please help i am getting the error below when i try to open page
Line 25: If e.Row.RowType = DataControlRowType.DataRow Then
Line 26: Dim dr As DataRowView = CType(e.Row.DataItem, DataRowView)
Line 27: Dim imageUrl As String = "data:image/jpg;base64," & Convert.ToBase64String(CType(dr("sign"), Byte()))
Line 28: CType(e.Row.FindControl("Image1"), Image).ImageUrl = imageUrl
Line 29: End If
error
Unable to cast object of type 'System.DBNull' to type 'System.Byte[]'.