/// <summary> /// name: btnDeleteImage3 /// description: link button that deletes the associated image with the image slot /// </summary> protected void btnDeleteImage3(object sender, EventArgs e) { string poiID = Request.QueryString["qrypoiID"]; DA_POI locationObject = new DA_POI(); locationObject.DeleteImage(poiID, 3); locationObject.OrganizeImages(poiID, 3); string URLWithQuerystring = "POI_Images.aspx?qrypoiID=" + poiID; Response.Redirect(URLWithQuerystring); }
/// <summary> /// name: btnDeleteImage6 /// description: link button that deletes the associated image with the image slot /// </summary> protected void btnDeleteImage6(object sender, EventArgs e) { string poiID = Request.QueryString["qrypoiID"]; DA_POI locationObject = new DA_POI(); locationObject.DeleteImage(poiID, 6); locationObject.OrganizeImages(poiID, 6); string URLWithQuerystring = "POI_Images.aspx?qrypoiID=" + poiID; Response.Redirect(URLWithQuerystring); }