foreach (GridViewRow gr in GridViewTnf.Rows) { HyperLink hp = new HyperLink(); hp.Text = gr.Cells[1].Text; hp.NavigateUrl = "DownloadFile.aspx?Name="+hp.Text+".pdf"; gr.Cells[1].Controls.Add(hp); Page.Controls.Add(new LiteralControl("<br/>")); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)