protected void gvNDARview_RowDataBound(object sender, GridViewRowEventArgs e) { if (e.Row.RowType == DataControlRowType.DataRow) { //GetDataEntryURL string url = sql.GetDataEntryURL(shortName); HyperLink lnk = new HyperLink(); lnk.Target = "_blank"; lnk.NavigateUrl = url + "?pk=" + e.Row.Cells[2].Text; lnk.Text = e.Row.Cells[0].Text; e.Row.Cells[0].Controls.Add(lnk); } }