Example #1
0
    protected void b_color_Command(object sender, CommandEventArgs e)
    {
        BLL.proimage  myb         = new BLL.proimage();
        SqlDataReader dr_proimage = myb.image_update(Convert.ToString(e.CommandArgument));

        dr_proimage.Read();
        Image_1.ImageUrl = dr_proimage["_imageurl"].ToString();
        im_url           = Image_1.ImageUrl;
        img_url.Text     = im_url;

        dr_proimage.Close();
    }
Example #2
0
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            u_sizeid.Text = Request.QueryString["sizeid"].ToString();

            BLL.proimage  b_image = new BLL.proimage();
            SqlDataReader dr      = b_image.image_update(u_sizeid.Text);
            dr.Read();
            image_url.Text  = dr["_imageurl"].ToString();
            Image1.ImageUrl = "~/" + image_url.Text;
            image_id.Text   = dr["_imageid"].ToString();
            dr.Close();
            sbing();
        }
    }
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            u_sizeid.Text = Request.QueryString["sizeid"].ToString();

            BLL.proimage b_image = new BLL.proimage();
            MySqlDataReader dr = b_image.image_update(u_sizeid.Text);
            dr.Read();
            image_url.Text = dr["_imageurl"].ToString();
            Image1.ImageUrl = "~/" + image_url.Text;
            image_id.Text = dr["_imageid"].ToString();
            dr.Close();
            sbing();

        }
    }