Click here to Skip to main content
15,881,089 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
hi,
i need help when i save byte[] in sq server 2014 the values change
and it add 0x0 can any one help in other database it save true

What I have tried:

to save data byte array in sql i have trouble and i am tired to get the solution i need help
Posted
Updated 7-Oct-19 8:29am
Comments
OriginalGriff 7-Oct-19 11:30am    
Without at least your code, we can;t help you: we have no idea what exactly you are doing. There are many ways you could be doing this, and we have no idea which one you have used.

Use the "Improve question" widget to edit your question and provide better information, like the relevant code fragments.

1 solution

SQL server represents byte arrays as the varbinary(n) type (where "n" is the max allowable size of the byte array.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900