简体   繁体   中英

Retrieve file name from database in file upload control

I have form for update product in which I have file upload control, in update product form i have retrieved all other details of product in appropriate text boxes like product name,price ,etc.

I also want to retrieve name and path of product image in file upload control which is uploaded using add product form.

Is it possible to set path of uploaded file to file upload control.

Plz help.

Thanks.

You can't retain/assign value in FileUpload control. This is because of due to browser security reasons.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM