Exemple #1
0
        private void button1_Click(object sender, RoutedEventArgs e)
        {
            Articlet        ar = new Articlet();
            List <Articlet> er = new List <Articlet>();

            er.Add(ar.search(textBox.Text.Trim()));
            Visitors_grid.ItemsSource = er;
        }
Exemple #2
0
        public void fun()
        {
            Articlet art = new Articlet();

            Visitors_grid.ItemsSource = art.retrieve();
        }