سه شنبه 1 آبان 1397 | Tuesday 23 rd of October 2018 صفحه اصلی گروه الکترونیکی کامپیوتر
ویرایش محصول نهایی: EditProduct.aspx

 

{

    protected void Page_Load(object sender, EventArgs e)

    {

    }

    protected void Button3_Click(object sender, EventArgs e)

    {

        MultiView1.ActiveViewIndex = 1;

        FormView1.Visible = true;

    }

    protected void LinkButton1_Command(object sender, CommandEventArgs e)

    {

        Session["PImage"] = e.CommandArgument;

        MultiView1.ActiveViewIndex = 2;

    }

    protected void Button4_Click(object sender, EventArgs e)

    {

        UpdateImageDS.Update();

        String path = Server.MapPath("~/Image/Products/SmallImages/");

        SmallImageUpload.PostedFile.SaveAs(path + SmallImageUpload.FileName);

        BigImageUpload.PostedFile.SaveAs(path + BigImageUpload.FileName);

    }

    protected void DeleteButton_Command(object sender, CommandEventArgs e)

    {

        Session["PDelete"] = e.CommandArgument;

        DeleteProductDS.Update();

        //GridView1.DataBind();

    }

    protected void Button5_Click(object sender, EventArgs e)

    {

        MultiView1.ActiveViewIndex = 1;

    }

    protected void DropDownList3_SelectedIndexChanged(object sender, EventArgs e)

    {

        DropDownList4.Enabled = true;

    }

    protected void DropDownList4_SelectedIndexChanged(object sender, EventArgs e)

    {

        DropDownList5.Enabled = true

Compatability by:
آخرین به روز رسانی سایت: سه شنبه, 22 اسفند 1391 - 00:26