i have a gridview that i filled it with filenames from a path, know, i want the filenames to be clickable so i can download them and i don't know how, can someone help me. code-behind (file is the gridview ID)
string path = "//the path";
string[] Fname = Directory.GetFiles(path).Select(Path.GetFileName).ToArray();
file.DataSource = Fname;
file.DataBind();
the web page
<asp:GridView ID="file" runat="server" style="border:hidden" ></asp:GridView>