/// <summary>
        /// Directions module will parse the relevant directions information and redirect to the location
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        protected void Directions_Click(object sender, EventArgs e)
        {
            int    buildingID = int.Parse(lblbuildingid.Text);
            string URL        = DirectionModuleBL.start(buildingID);

            Response.Redirect(URL);
        }
示例#2
0
        protected void btnDirections_Click(object sender, EventArgs e)
        {
            int ID         = Int32.Parse(Request.QueryString["ID"]);
            int buildingID = BuildingBL.getBuildingByID(RoomBL.getRoomByID(TableBL.GetTableByID(ID).RoomID).BuildingID).BuildingID;
            // directions module
            string URL = DirectionModuleBL.start(buildingID);

            Response.Redirect(URL);
        }