Open a file at a specific location without providing the file name
Is there a way to open 开发者_如何转开发an excel file in ASP.NET based on just the location using Response.Redirect? The file name is dynamic and it changes all the time.
here fName is the parameter which will store the file name entered by the user
Something like: Response.Redirect("~/Folder1/" + fName + ".xls");
Thanks in advance
精彩评论