コード例 #1
0
        private void comboBox2_SelectedIndexChanged(object sender, EventArgs e)
        {
            accessDb adb = new accessDb();

            this.tempBuyerId = adb.getData("buyer", "storeName", comboBox2.Text, "buyerId");
            this.tempMail    = adb.getData("buyer", "storeName", comboBox2.Text, "email");
        }
コード例 #2
0
        private void fill()
        {
            accessDb ad = new accessDb();
            DataSet  ds = ad.getData("orders");

            dataGridView1.DataSource = ds.Tables["orders"].DefaultView;
        }
コード例 #3
0
        private void fill()
        {
            accessDb ad = new accessDb();
            DataSet  ds = ad.getData("orders");

            metroGrid1.DataSource = ds.Tables["orders"].DefaultView;

            DataSet ds2 = ad.getData("invoice");

            metroGrid2.DataSource = ds2.Tables["invoice"].DefaultView;
        }