hello.
this is my scenario.
i have a web service that brings some products, each product have a name, price, description and image in blob format.
so i'm getting this blob as string and i'm making Convert.FromBase64String(base64String) that return a byte[].
so far so goo, i think!
so, next i fill the property DataValue whit the byte array.
this binaryimage is inside one template of datalist.
but then when i'm trying to render the page e receive a error page with this exception:
Exception Details: System.ArgumentException: Parameter is not valid.
Source Error:
Stack Trace:
Hope someone can help.
best regards
this is my scenario.
i have a web service that brings some products, each product have a name, price, description and image in blob format.
so i'm getting this blob as string and i'm making Convert.FromBase64String(base64String) that return a byte[].
so far so goo, i think!
so, next i fill the property DataValue whit the byte array.
this binaryimage is inside one template of datalist.
but then when i'm trying to render the page e receive a error page with this exception:
Parameter is not valid.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.Exception Details: System.ArgumentException: Parameter is not valid.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. |
Stack Trace:
|
Hope someone can help.
best regards