I have a GirdView populated with text from code behind, I want to have a row contains a text and another row contains a HyperLink .
I use the following code :
Dim dtFull As New DataTable()
' Create four typed columns in the DataTable.
dtFull.Columns.Add("Self Assessment", GetType(Object))
dtFull.Columns.Add("Staff Development", GetType(Object))
dtFull.Columns.Add("Mid Meeting", GetType(Object))
dtFull.Columns.Add("Objectives Rating", GetType(Object))
dtFull.Columns.Add("Overall Rating", GetType(Object))
dtFull.Columns.Add("Second Supervisor Approval", GetType(Object))
dtFull.Columns.Add("Staff Sign Off", GetType(Object))
dtFull.Columns.Add("Total", GetType(Object))
dtFull.Rows.Add("", "", "", "", "", "", "", "")
gvGeneralStatistics.DataSource = dtFull
gvGeneralStatistics.DataBind()
How to add HyperLink to the GridView row :