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

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