private void button4_Click(object sender, EventArgs e) { DbOpearte Opearte = new DbOpearte(comboBox1.SelectedText); MessageBox.Show(string.Format("Update影响{0}条数", Opearte.UpdateWithPara())); }
private void button5_Click(object sender, EventArgs e) { DbOpearte Opearte = new DbOpearte(comboBox1.SelectedText); Opearte.RecordUpdate(); }
private void button2_Click(object sender, EventArgs e) { DbOpearte Opearte = new DbOpearte(comboBox1.SelectedText); MessageBox.Show(string.Format("DataSet总共{0}个表", Opearte.SelectDataSet())); }
private void button1_Click(object sender, EventArgs e) { DbOpearte Opearte = new DbOpearte(comboBox1.SelectedItem.ToString()); MessageBox.Show(string.Format("表总共{0}条数据", Opearte.SelectDt())); }
private void ExecuteProcedure_Click(object sender, EventArgs e) { DbOpearte Opearte = new DbOpearte("Oracle"); Opearte.ExecuteProcedure(); }
private void GetTbByProcedure_Click(object sender, EventArgs e) { DbOpearte Opearte = new DbOpearte("Oracle"); Opearte.GetTbByProcedure(); }
private void button6_Click(object sender, EventArgs e) { DbOpearte Opearte = new DbOpearte("Oracle"); Opearte.RecordUpdate(true); }