惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

The GitHub Blog
The GitHub Blog
IT之家
IT之家
B
Blog RSS Feed
罗磊的独立博客
GbyAI
GbyAI
博客园 - Franky
Y
Y Combinator Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Google DeepMind News
Google DeepMind News
博客园 - 聂微东
N
Netflix TechBlog - Medium
博客园 - 三生石上(FineUI控件)
人人都是产品经理
人人都是产品经理
U
Unit 42
博客园 - 叶小钗
Jina AI
Jina AI
MyScale Blog
MyScale Blog
雷峰网
雷峰网
B
Blog
Hugging Face - Blog
Hugging Face - Blog
Blog — PlanetScale
Blog — PlanetScale
Recent Announcements
Recent Announcements
腾讯CDC
酷 壳 – CoolShell
酷 壳 – CoolShell

博客园 - 在下刚哥

ABP配置时间格式 Java Instant\Date\LocalDateTime\Calendar\ZonedDateTime转化 - 在下刚哥 - 博客园 List与String、数组的相互转换 Json转换 黑龙江社保电话 List与String的相互转换(C#) ServiceStack.Redis的GetTypedClient C# 16进制转换10进制 揭秘人体24小时 四年一轮回 .cs编译DLL类库方法 类命名规范、数据库命名规范和页面文件命名规范 SHTML和HTML的区别 让IT工作者过劳的13个坏习惯 腾讯笔试题--国王招来100个囚犯(转) 很牛的求职经历(转) 中国各城市经纬度数据 Microsoft Visual Source Safe 2005 下载地址 Fckeditor在.net下用验证控件问题
NavigateUrl属性绑定 - 在下刚哥 - 博客园
在下刚哥 · 2008-01-15 · via 博客园 - 在下刚哥

1、使用javascript函数:

 

<ItemTemplate>
     
<asp:HyperLink ID="EditLink" Runat=server NavigateUrl='<%# "javascript:edit(escape(\"" + DataBinder.Eval(Container.DataItem, "subcid") + "\"))" %>' ImageUrl="image/edit.gif" text="编辑">
     
</asp:HyperLink>
</ItemTemplate>


2、

NavigateUrl='<%String.Format("~/Manager/UpdateLog.aspx?ID={0}",Request.QueryString["cid"]) %>'

NavigateUrl='<%String.Format("~/Manager/UpdateLog.aspx?ID={0}",Eval(Request.QueryString["cid"])) %>'


3、

NavigateUrl='<%"showarticle.aspx?cid=" + Request.QueryString["cid"] %>'