Author: soona | Posted on: 5/18/2009 1:49:08 AM | Views : 365

 Hi,

i want to save the uploaded images in rooted path .actually, My application available in this path "D:\website\test\". i need to save uploaded image in this path.i tried the below code but it shown error messages is:"The SaveAs method is configured to require a rooted path, and the path '~website\test\tiger.jpeg' is not rooted "
 ------- codebehind--------
protected void LinkButton1_Click(object sender, EventArgs e)
        {
            string currentpath;
            string images;
            referer = "";
            if (FileUpload1.HasFile)
            {  &nbs ...

Go to the complete details ...