private void button2_Click(object sender, EventArgs e)
        {
            String  query = "select * from books where author like '%" + textBox1.Text + "%'";
            Results obj   = new Results(query);

            obj.Show();
        }
        private void button2_Click(object sender, EventArgs e)
        {
            Results obj = new Results("select * from books");

            obj.Show();
        }
Exemple #3
0
        private void button6_Click(object sender, EventArgs e)
        {
            Results obj = new Results("select cid,cname,phone,city from customer1");

            obj.Show();
        }
Exemple #4
0
        private void button1_Click(object sender, EventArgs e)
        {
            Results obj = new Results("select eid,ename,join_date from employee1");

            obj.Show();
        }