Exemplo n.º 1
0
        private void button3_Click(object sender, EventArgs e)
        {
            //pass the record to the data grid view
            dataTable dt = new dataTable();

            dt.data(table, "select * from Rent");
            option.Text = "rent";
        }
Exemplo n.º 2
0
        private void button13_Click(object sender, EventArgs e)
        {
            dataTable tbl = new dataTable();

            MessageBox.Show("Best Cusotmer is " + tbl.BestCustomer());
        }
Exemplo n.º 3
0
        private void button14_Click(object sender, EventArgs e)
        {
            dataTable tbl = new dataTable();

            MessageBox.Show("Best Video is " + tbl.BestMovie());
        }