前台我这样写的:
 <asp:TemplateField HeaderText="提醒情况">
                        <ItemStyle HorizontalAlign="Center" />
                            <ItemTemplate>
                                 <asp:HyperLink ID="hlqingkong" runat="server" NavigateUrl='<%# "~/H0/H010103.aspx?CRID="+Eval("CRID")%>'>
                            </asp:HyperLink>
                            </ItemTemplate>
                        </asp:TemplateField>
后台我在Gv_crm_remind_RowDataBound里面应该怎么写才能把从数据取出来的数据加上链接。
if (e.Row.RowType == DataControlRowType.DataRow)
            {
                     hdCRID.Value = Gv_crm_remind.DataKeys[e.Row.RowIndex].Value.ToString();
                string CRID = hdCRID.Value;
                string sql = "select count(*) as qingkong from crm_remind_detail where CRID='" + CRID + "'";
                DataTable dt = db.GetDataTable(sql);
                e.Row.Cells[8].Text = "提醒" + dt.Rows[0]["qingkong"].ToString() + "人次";                e.Row.Cells[0].Text = (e.Row.DataItemIndex + 1).ToString();
            }