Exemplo n.º 1
0
        public void showdeals()
        {
            server.Service1 o  = new server.Service1();
            BindingSource   bs = new BindingSource();

            bs.DataSource            = o.getdeal();
            dataGridView1.DataSource = bs;
        }
Exemplo n.º 2
0
        public void dealshow()
        {
            server.Service1 o  = new server.Service1();
            BindingSource   bs = new BindingSource();

            bs.DataSource            = o.getdeal();
            dataGridView2.DataSource = bs;
            dataGridView2.Columns["Quantity"].Visible = false;
        }