I'm trying to upload pictures to a folder (located in my project folder) using asp:FileUpload.
I'm getting this error when i click the button:
The SaveAs method is configured to require a rooted path, and the path 'localhost:49256/bilder' is not rooted.
Here's my code behind:
protected void ladda_Click(object sender, EventArgs e)
{
    string filename = filuppladdare.FileName;
    string description = desc.Text;
    if (filuppladdare.HasFile)
    {
        filuppladdare.PostedFile.SaveAs(\localhost:21212\pictures");
    }
}
I have only guessed the Path. What should it be? Or how do i get it?
 
     
     
     
     
     
    