示例#1
0
    protected void lnkLanePerLot_Click(object sender, EventArgs e)
    {
        if (string.IsNullOrEmpty(hidSelectedLane.Value))
        {
            lblErrorPermanentLotLanedv.Text = "Please select a Lane";
            return;
        }
        string str = hidSelectedSpace.Value.Replace(",", "");
        string str2 = hidSelectedLane.Value.Replace(",", "");

        Lots.transferTemporaryLot(Convert.ToInt32(Session["TemporaryLotId"]), Convert.ToInt32(str), Convert.ToInt32(str2));
        lblErrorPermanentLotdv.Text = string.Empty;
        lblErrorPermanentLotLanedv.Text = string.Empty;
        lblErrorPermanentLotSpacedv.Text = string.Empty;
        dvParkingLot1.Visible = true;
        dvPermanentLot.Visible = false;
        dvSpace.Visible = false;
        dvlane.Visible = false;
        Session["TemporaryLotId"] = "";
        Session["SpaceId"] = "";
        Load_AllAdminInventory(1);

    }