Example #1
0
        private void search_btn_Click(object sender, EventArgs e)
        {
            search_display sd = new search_display();
            Context_search cs;

            cs = new Context_search(new bool_search());
            show_user_data_grd.DataSource = cs.do_search(user_search_txt.Text);
        }
Example #2
0
        private void button1_Click(object sender, EventArgs e)
        {
            string         x  = "select Name from Reader where Name='" + textBox1.Text + "'";
            search_display sd = new search_display();
            Context_search cs;

            cs = new Context_search(new bool_search());
            cs.do_search(x);
        }