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

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

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

            obj.Show();
        }