public CreditCardList() { InitializeComponent(); var data = dAL.FindList(1, 20); CreditCard.Clear(); foreach (var item in data) { CreditCard.Add(item); } list.ItemsSource = CreditCard; }
public void query(object sender, EventArgs e) { CreditCardDAL dal = new CreditCardDAL(); TableQuery<CreditCard> list = dal.FindList(1, 10); }