Hi,
Please refer below code.
C#
If you want to fetch single record
DataClasses1DataContext db = new DataClasses1DataContext();
int simNo = db.tbl_urgent_contacts.Select(t => t.SimNo).FirstOrDefault();
If you want to fetch multiple record
DataClasses1DataContext db = new DataClasses1DataContext();
int[] simNos = db.tbl_urgent_contacts.Select(t => t.SimNo).ToArray();
I hope this will help you out.