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

No comments:

Post a Comment