Ejemplo n.º 1
0
        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();
        }
Ejemplo n.º 2
0
        private void button2_Click(object sender, EventArgs e)
        {
            Results obj = new Results("select * from books");

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

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

            obj.Show();
        }