It is an often situation when a developer should include sever field values in a hyperlink shown in a GridView column cells. The best solution to this problem is to use templates. The attached example shows how this can be done and suggests two similar approaches:
1) in the "simple" case the href parameter of the <a> element is defined by the KeyValue of the processed row
2) in the "complex" case, the href parameter of the <a> element is defined in the server side GetRowValue method.