Populate Windows Forms ComboBox control using Entity Framework

Last Reply on Mar 09, 2013 10:43 PM By Mudassar

Posted on Mar 09, 2013 07:21 AM

HI,
 
I tried to show list of name on cmbobox
 

this is the code(query
var query = (from p in dbhome.Stores select new { p.FNameware,p.id }).ToList();
Cbox.DataSource = query.ToList();

This question does not have replies that have been liked.