Hi, i was also able to resolve this problem by converting the field to template using following code. And without going to codebehind :)
<asp:TemplateField HeaderText="Action">
<ItemTemplate>
<asp:HyperLink ID="HyperLink1" runat="server"
NavigateUrl='<%# Eval("employee\_id", "employee\_details.aspx?cid={0}&department\_id=" + Request.QueryString\["department\_id"\]) %>'
Text="View Details"></asp:HyperLink>
</ItemTemplate>
</asp:TemplateField>
Humayun Shabbir Bhutta http://www.sourcesystems.net http://sourcesystems.net/humayun