I have a problem with binding Listview
to my database using entity framwork.
This code only shows the first row of the table but the records do not show:
var item = (from p in db.tbl_film select p).FirstOrDefault(); string[] items = {item.flm_id.ToString(),item.flm_name,item.flm_description,item.flm_category }; foreach (var itemlist in items) { ListViewItem lvi = new ListViewItem(items); listView1.Items.Add(lvi); }