Exemple #1
0
        public CreditCardList()
        {
            InitializeComponent();
            var data = dAL.FindList(1, 20);

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