protected void LinkRSil_Click(object sender, EventArgs e) {//resim silniyor. if (!YetkiKontrol(pageName + "-Delete")) { return; } Snlg_DBConnect vt = new Snlg_DBConnect(true); int silinen = vt.SorguCalistir("UPDATE snlg_V1.TblReferansApp SET Resim = NULL WHERE RId = @RId ", CommandType.Text, new Snlg_DBParameter[] { new Snlg_DBParameter("@RId", SqlDbType.Int, Request.QueryString["rid"]) }); vt.Kapat(); Snlg_Hata.ziyaretci.HataGosterBasarili("Resim silindi.", false); FVResim.DataBind(); }
protected void BtnRSil_Click(object sender, EventArgs e) { if (!YetkiKontrol(pageName + "-Delete")) { return; } Snlg_DBConnect vt = new Snlg_DBConnect(true); vt.SorguCalistir("UPDATE snlg_v1.TblResimGaleriResimlerApp SET Resim = NULL WHERE RId = " + Request.QueryString["rid"], CommandType.Text); vt.Kapat(); FVResim.DataBind(); Snlg_Hata.ziyaretci.HataGosterBasarili("Resim silindi.", false); }