Hi,
I have a RadBinaryImage control on my aspx page. using to display image.
I have stored my img file in sqldb as nvarbinary(max). I am retrieving the img from db table as byte[] and setting to RadBinaryImage control.
RadBinaryImage1.DataValue = imgsource;
imgsource is byte[].
But its throwing error as below.
Can any one tell me where am going wrong?
Thanks,
Exception Details: System.ArgumentException: Parameter is not valid.
Source Error:
I have a RadBinaryImage control on my aspx page. using to display image.
I have stored my img file in sqldb as nvarbinary(max). I am retrieving the img from db table as byte[] and setting to RadBinaryImage control.
RadBinaryImage1.DataValue = imgsource;
imgsource is byte[].
But its throwing error as below.
Can any one tell me where am going wrong?
Thanks,
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. |