asp:HyperLink中 Eval要用string.Format绑定

asp:HyperLink中 Eval要用string.Format绑定

<asp:HyperLink ID="hlAlter" runat="server" NavigateUrl='<%# string.Format("AlterStudentExamScore.aspx?examScoreId={0}&plateId={1}",Common.UrlDESEncrypt(Eval("ExamScoreId"),true),HttpUtility.UrlEncodeUnicode(Request.QueryString["plateId"])) %>'
Visible="false">修改</asp:HyperLink>

posted @ 2012-05-04 16:16  事理  阅读(218)  评论(0编辑  收藏  举报