Posted on: 4/27/2015 3:56:25 PM | Views : 647

HI
i want to ask , i made a grid view reading from a sql datasource containg the following coulmns
toyname ,description , quatity, price, photo,
the last coulmn photo i converted it to template and enter editi template and a choose to appear like a button (to make the user click on the button  to save the photo) and i make the code behind the button as follow
 string filepath = Server.MapPath("Products") + "\\";        string filenam = Path.GetFileName(filepath);                  System.Web.HttpResponse response = System.Web.HttpContext.Current.Response;         response.ClearContent();         response.Clear();         response.ContentType = "text/plain"; Go to the complete details ...