iam using this code to save customers cv to specifiy folder on server but i have error 'access deined' instead i give this folder all plivigers for read and write
help me plz
Can you post your file location address that you are posting to?
Sometimes you can release access to a folder which is in another restricted folder, therefore unable to upload file
Try a different folder which is nearer the root and see if that works too
not an answer to your question but a bit of advice; rather than continuously evaluate the FindControl and casting it to FileUpload do it once at the beginning and use that throughout. It is not only more efficient, but makes your code much more readable!
public partial class _Default : System.Web.UI.Page
protected void Page_Load(object sender, EventArgs e)
s = Convert.ToString(Session["Adminname"]);
if (s.ToString() != "")
WebPartManager1.DisplayMode = WebPartManager.EditDisplayMode;
var control = document.getElementById('Hidden1').value;
var oTr = document.getElementById('WebPart_'+control).insertRow(1);
var oTd = oTr.insertCell();