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"; }
private void button13_Click(object sender, EventArgs e) { dataTable tbl = new dataTable(); MessageBox.Show("Best Cusotmer is " + tbl.BestCustomer()); }
private void button14_Click(object sender, EventArgs e) { dataTable tbl = new dataTable(); MessageBox.Show("Best Video is " + tbl.BestMovie()); }