예제 #1
0
        private void btnUrunlerGetir_Click(object sender, EventArgs e)
        {
            UrunlerServiceClient client = new UrunlerServiceClient();

            dataGridView1.DataSource = client.UrunListesi();
            client.Close();//servisi kapattık
        }
예제 #2
0
        private void button2_Click(object sender, EventArgs e)
        {
            UrunlerServiceClient cl = new UrunlerServiceClient();

            dataGridView1.DataSource = cl.UrunListesi();
            cl.Close();
        }