i have access file by name song.mdb which has field by name file
where i am storing mp3 file in binary format .
when i tried to read the field into
ret byte array i am able to read only first 25 bytes .
Why am i not getting the full array which is 1024 bytes long
byte[] ret = new byte[2000];
mycon.Open();
OleDbCommand cmd = new OleDbCommand("select file from song", mycon);
System.Data.OleDb.OleDbDataReader dr;
dr = cmd.ExecuteReader();
if (dr.Read())
{
ret = (byte[])dr.GetValue(0);
}