To read an integer array from a (SQLite) table via LINQ, no datasets using System.Data.Linq; using System.Data.Linq.Mapping; The tables should be defined as: [Table(Name = "Sequenze")] public class Sequenze { [Column] public int sequenza; [Column] public int IDViaggio; } Then the reading is this int[] sq = null; try { DataContext db = new DataContext(cn); Table seq = db.GetTable(); sq = (from v in seq where v.IDViaggio == i select v.sequenza).ToArray(); return (sq); } catch (Exception e) { Trace.WriteLine("Warning: " + e.Message); }