Пример #1
0
    protected void Page_Load(object sender, EventArgs e)
    {
        if (Session["Id"] == null)
        {
            Response.Redirect("login.aspx");
        }
        Id    = Request.QueryString["Id"];
        islem = Request.QueryString["islem"];

        if (islem == "Sil")
        {
            system.cmd("Delete from Adminler where Id =" + Id);
            Response.Redirect("Adminler.aspx");
        }
        Label lbl1 = (Label)Master.FindControl("lblSayfaBaslik");

        lbl1.Text = "Admin Yonetimi";
        AdminCek();
    }
Пример #2
0
    protected void Page_Load(object sender, EventArgs e)
    {
        if (Session["Id"] == null)
        {
            Response.Redirect("login.aspx");
        }
        id    = Request.QueryString["Id"];
        islem = Request.QueryString["islem"];

        if (islem == "Sil")
        {
            system.cmd("Delete from siparis Where id=" + id);
            Response.Redirect("siparis.aspx");
        }


        Label lblBaslik = (Label)Master.FindControl("lblSayfaBaslik");

        lblBaslik.Text = "SİPARİŞLER";
        SiparisCek();
    }
Пример #3
0
  protected void Page_Load(object sender, EventArgs e)
  {
      if (Session["Id"] == null)
      {
          Response.Redirect("login.aspx");
      }
      Label lbl1 = (Label)Master.FindControl("lblSayfaBaslik");

      lbl1.Text = "Anasayfa Yazıları";

      AdiSoyadiCek();

      Id    = Request.QueryString["Id"];
      islem = Request.QueryString["islem"];

      if (islem == "Sil")
      {
          system.cmd("Delete from Yazilar where Id =" + Id);
          Response.Redirect("Giris.aspx");
      }
  }