Hi guys,
Ok can someone point out where I am going wrong here? I want to assign the results to a list and then assign that list to the itemsource of a grid....
public class AllLists
{
public static List<string> LstQteHeader = new List<string>();
}
using (var context = new AscentEntities())
{
AllLists.LstQteHeader = (from d in context.Qte_Header select d);
}
}
}