I am working on an MVC3 application. My client side ViewModel contains a SQL Server RowVersion property, which is a byte[]. It is rendered as an Object array on the client
My client side ViewModel contains a SQL Server RowVersion property, which is a byte[]
Make it so that instead of a byte[]
your view model contains a string
property which is the base64 representation of this byte[]
. Then you won't have any problems roundtripping it to the client and back to the server where you will be able to get the original byte[]
from the Base64 string.