Author: soona | Posted on: 11/5/2008 11:11:01 PM | Views : 345

 Hi experts,

Pls clear my idea for my given code using asp.net with c#.

protected void SubmitBtn_Click(object sender, EventArgs e)
        {
            path2 = "";

            if ((ImageUpload.HasFile) && (ImageUpload.PostedFile.ContentLength != 0))
            {
                path1 = ImageUpload.PostedFile.FileName.ToString();
                path2 = path1.Substring(path1.LastIndexOf("\\") + 1);
            }
            string ...

Go to the complete details ...