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

            dataGridView_dettagli.DataSource = dt;
        }