Пример #1
0
        private void back_Click(object sender, RoutedEventArgs e)
        {
            FilterBrand a = new FilterBrand();

            this.Hide();
            a.Show();
        }
Пример #2
0
        private void button2_Click(object sender, RoutedEventArgs e)
        {
            String        sql = "create or replace view mbtb as select * from device";
            OracleCommand cmd = new OracleCommand(sql, con);

            cmd.ExecuteNonQuery();
            FilterBrand a = new FilterBrand();

            this.Hide();
            a.Show();
        }
Пример #3
0
        private void button1_Click(object sender, RoutedEventArgs e)
        {
            String        sql1 = "create or replace view mbtb as select * from device where device_type='Tablet'";
            OracleCommand cmd1 = new OracleCommand(sql1, con);

            cmd1.ExecuteNonQuery();
            FilterBrand a = new FilterBrand();

            this.Hide();
            a.Show();
        }