Click here to Skip to main content
15,880,608 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:


C#
FileUpload1.SaveAs(Server.MapPath("~/" + newfolder + "\\") + fileName);
               FileUpload1.Style.Add("background -image", "url(http://localhost:5742/myproject/Images/Suku.jpg)");





But i cant get the result
Posted
Comments
Kornfeld Eliyahu Peter 17-Sep-14 8:07am    
Is that syntax error of "background -image" is only here or copied from your code?
Member 11026295 18-Sep-14 0:40am    
no error. but the output didn't show the background image

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900