コード例 #1
0
    protected void LinkButton10_Click(object sender, EventArgs e)
    {
        Dao_Miami daoMiami = new Dao_Miami();

        daoMiami.getDataGridView(GridView1, 1, 8);
        Label10.Text = daoMiami.deleteDataIninventario("SP_delete_entrepot_Miami").ToString() + " eliminado(s)";
        class_rpr.TConexionGridProc("SP_see_entrepot_Miami", GridView1);
    }
コード例 #2
0
    protected void LinkButton12_Click(object sender, EventArgs e)
    {
        Dao_Miami daoMiami = new Dao_Miami();

        daoMiami.getDataGridView(GridView2, 9, 10);

        Label11.Text = daoMiami.getDataIninventario("SP_See_fromHistorial_4id").ToString() + "Borrados del historial y reintegrados al inventario";
        Label11.Text = daoMiami.fromHistoryToInventary("SP_update_Miami_from_historial");

        daoMiami.deleteDataIninventario("SP_delete_entrepot_Miami_historial");

        String vitola = ddl_Vitola.SelectedValue;
        String capa   = ddl_Capa.SelectedValue;
        String liga   = ddl_Liga.SelectedValue;
        String entry  = ddl_Entry.SelectedValue;

        class_rpr.TConexionGridProcHistorialMiami("SP_miami_historial_producto", GridView2, vitola, capa, liga, entry);
        class_rpr.TConexionGridProc("SP_see_entrepot_Miami", GridView1);
        class_rpr.TConexionListdProc("SP_last_invoice_miami", ListBox1);
    }