Showing posts with label How to read binary data in ado.net Sqlite. Show all posts
Showing posts with label How to read binary data in ado.net Sqlite. Show all posts

Monday 14 December 2015

How to read binary data in ado.net Sqlite

               SQLiteCommand fdCase = new SQLiteCommand("SELECT * FROM record", destination);
                SQLiteDataReader readerCase = fdCase.ExecuteReader();
                if (readerCase.HasRows)
                {
                    int icalc = 1;
                    while (readerCase.Read())
                    {
                        byte[] byteCase = (Byte[])readerCase["DATA"];

by this way you can read binary data