protected void btnenshow_Click(object sender, ImageClickEventArgs e) { string DirectoryPath = Server.MapPath("") + System.IO.Path.DirectorySeparatorChar + "Enclosure"; docFileNameWithPath = DirectoryPath + "\\" + lstUpload.SelectedValue; string filename = lstUpload.SelectedValue; string str = "http://" + Request.Url.Authority + Request.ApplicationPath + "/Enclosure/" + filename; if (System.IO.File.Exists(docFileNameWithPath)) Process.Start(str);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)