subsónica no válida echa de la System.Int32 a System.Byte []
-
22-09-2019 - |
Pregunta
Subsonic 2.2 es tirar el error
subsonic Invalid cast from System.Int32 to System.Byte[]
Cuando hago lo siguiente
If template.Content Is Nothing Then
MsgBox("Blank Document")
Else
MsgBox("Document Present")
End If
"plantilla" es un objeto SubSonic de la que de campo "contenido" es de tipo Byte ()
¿Por qué es esto
Solución
El objeto SubSonic se ha inicializado correctamente.
Solución
Dim template as New TemplateDocument(Guid.NewID()) with {.content = Nothing}
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow