private void button_procedure_Click(object sender, EventArgs e) { dataGridView1.DataSource = adb.StoredProcedure("test", new string[, ] { { "parametro", "1" } }).dt; MessageBox.Show("Procedure richiamata"); }
private void button_insRuolo_Click(object sender, EventArgs e) { DataTable dt = adb.StoredProcedure("ProceduraCreaTabella", new string[, ] { { "nomeSquadra", "Bari" } }).dt; dataGridView_dettagli.DataSource = dt; }