0

I am trying to store the files data in sqlite. Where i gets bytes of data

 public class FileDetailsEntity
{
    public byte[] FileStream { get; set; }
    public string FileName { get; set; }

}

How to save FileStream in sqlite database.

I tried of using Encoding.ASCII.GetBytes(this.FileStream) but it is showing encoding does not consists ASCII...is there any other way to store byte array[] in sqlite database.

2

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.