Posted on: 7/7/2014 4:04:36 AM | Views : 368

Hi
i want to update the image in image control based on prodcut code.
before update i want insert.
i take text box for prodcut code and fileupload control for upload of image file.
here is my code in btn click
  protected void btnSubmit_Click(object sender, System.EventArgs e)     {         pcodes = txtprodcode.Text;         //==== Get file name without its extension.         string fileNameWithoutExtension = Path.GetFileNameWithoutExtension(FileUpload1.FileName);         //==== Get file extension.         string fileExtension = Path.GetExtension(FileUpload1.FileName);         //=== Now we have both file name and its extension seperat ...

Go to the complete details ...