<asp:FileUpload ID="fUpImg" runat="server" /><asp:DropDownList ID="dropListCategory" runat="server" AutoPostBack="False" DataTextField="Name" DataValueField="Code" Width="227px">
..................string imageFolder="Images";MyImage image= new MyImage() //custom classimage.Name=fUpImg.PostedFile.FileName;image.categoryCode= dropListCategory.SelectedValue;imagefolderPath= MapPath(imageFolder + "/" + image.categoryCode);string finalPath = imageFolderPath +"/"+ fUpImg.PostedFile.FileName;if (!File.Exists(finalPath)){fUpImg.SaveAs(finalPath);}I am new to web programming so I really don't know if i can resove this by changing the code or if the server where my website is hoasted dosen't allow this kind of uploads.I would appreciate any help