Click here to Skip to main content
14,326,294 members
Rate this:
Please Sign up or sign in to vote.
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

Rate this:
Please Sign up or sign in to vote.

Solution 1

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

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




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100