Dynamic hyperlink in TableCellCollection using gridview C#

Feb 11 2008 9:01 AM

Hi there i need your help. i want to create a hyperlink  here is my code

for myCells[2] as hyperlink

TableCellCollection myCells = e.Row.Cells;

myCells[0].Width = Unit.Pixel(44);

myCells[0].CssClass = "txt_time";

myCells[1].Width = Unit.Pixel(550);

myCells[1].CssClass = "txt_descrip";

myCells[2].Width = Unit.Pixel(43);

myCells[2].CssClass = "link_rating";

myCells[2].ToolTip = "Age Restiction";