osyris zosar

osyris zosar

  • NA
  • 289
  • 27.6k

How to use IQueryable in WPF

Nov 26 2020 4:37 PM
I am trying to create a   IQueryable in WPF
so I can filter the it with querys
i could not realy find a good explanation on how to use  IQueryable in wpf
 
this is what i tryed:
i would like to put "Namelist" in a Iqueryable and maybe filter all names that start with the letter "J" or something
 
private void IqueryableButton_Click(object sender, RoutedEventArgs e)
{
string[] names = { "jack", "eric", "micheal", "dwayne", "jade" };
List<string> NameList = new List<string>(names);
IQueryable<Products> products = NameList.
 
// i have no idea what i am suppose to do 
}
 

Answers (5)