Пример #1
0
        private void button4_Click(object sender, EventArgs e)
        {
            DbOpearte Opearte = new DbOpearte(comboBox1.SelectedText);

            MessageBox.Show(string.Format("Update影响{0}条数", Opearte.UpdateWithPara()));
        }
Пример #2
0
        private void button5_Click(object sender, EventArgs e)
        {
            DbOpearte Opearte = new DbOpearte(comboBox1.SelectedText);

            Opearte.RecordUpdate();
        }
Пример #3
0
        private void button2_Click(object sender, EventArgs e)
        {
            DbOpearte Opearte = new DbOpearte(comboBox1.SelectedText);

            MessageBox.Show(string.Format("DataSet总共{0}个表", Opearte.SelectDataSet()));
        }
Пример #4
0
        private void button1_Click(object sender, EventArgs e)
        {
            DbOpearte Opearte = new DbOpearte(comboBox1.SelectedItem.ToString());

            MessageBox.Show(string.Format("表总共{0}条数据", Opearte.SelectDt()));
        }
Пример #5
0
        private void ExecuteProcedure_Click(object sender, EventArgs e)
        {
            DbOpearte Opearte = new DbOpearte("Oracle");

            Opearte.ExecuteProcedure();
        }
Пример #6
0
        private void GetTbByProcedure_Click(object sender, EventArgs e)
        {
            DbOpearte Opearte = new DbOpearte("Oracle");

            Opearte.GetTbByProcedure();
        }
Пример #7
0
        private void button6_Click(object sender, EventArgs e)
        {
            DbOpearte Opearte = new DbOpearte("Oracle");

            Opearte.RecordUpdate(true);
        }