Subject: Accessing text in a hyperlink field
Posted By: mvyjim Post Date: 3/10/2007 4:22:12 PM
I have a GridView with a hyperlink column. I want to modify the text in the hyperlink field in OnRowDataBound. However, I can't read the text using:

protected void GridView1_OnRowDataBound(object sender, GridViewRowEventArgs e){

string TempText = (string)e.Row.Cells[5].Text;
}

A null string is returned.


Go to topic 57438

Return to index page 5
Return to index page 4
Return to index page 3
Return to index page 2
Return to index page 1