Beispiel #1
0
        protected void btnDeletepic_ServerClick(object sender, EventArgs e)
        {
            user = (UserData)(Session["User"]);
            string id = Request.QueryString.Get("id");

            Dataservice.DatamanagementClient findatae = new Dataservice.DatamanagementClient();

            findatae.Open();
            findatae.deletepicture(id, user.getID());

            findatae.Close();
            Response.Redirect("Allpictures.aspx");
        }