Ejemplo n.º 1
0
    protected void btnOk_Click(object sender, EventArgs e)
    {
        int id = Convert.ToInt32(txtRequestIdPopup.Text);

        ObjFmsInventory.BatteryApproveRejectRequisition(id, 2);
        FillGrid_BatteryPendingForApproval(3, ViewState["vehicleid"] != null ? Convert.ToInt32(ViewState["vehicleid"]) : Convert.ToInt32(ddlInventoryVehicles.SelectedValue));
        Show("New Battery Request Approved");
    }