zoukankan
html css js c++ java
NavigateUrl属性绑定
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"]
%>
'
查看全文
相关阅读:
.NET5微服务示例-Ocelot网关
.NET5微服务示例-Polly熔断与降级
.NET5微服务示例-Consul注册中心
.NET下使用ELK日志中心
[ 题解 ] [ 数学 ] [ JZOJ5809 ] 数羊
[ 题解 ] [ 数学 ] 函数 (sequence) (欧拉函数)
[ 题解 ] [ JZOJ5777 ] 小 x 玩游戏
更换谷歌浏览器视频输入源
axios 封装及 API 接口管理
小程序代码压缩实践
原文地址:https://www.cnblogs.com/wanggang/p/1040029.html
最新文章
CF1592C. Bakry and Partitioning
换根DP
Codeforces 1566E Buds Re-hanging
数位DP总结
可组合的类定义
enumerability
"Real" Mixins with JavaScript Classes
Python程序设计题库——第五章
Github bug: a lock file already exists in the repository
计算机网络 第二章 物理层(习题)
热门文章
Python程序设计题库——第三章
Python程序设计题库——第二章
Python程序设计题库——第一章
不再犹豫
手撕spring(一):实现一个简单的IOC容器
Java工具类--使用原生POI实现导出Excel功能2-注解方式
Java工具类--使用原生POI实现导出Excel功能1
「群论学习笔记」
Dapr的安装和配置,以及.NET5与其结合
.NET5微服务示例-Consul配置中心
Copyright © 2011-2022 走看看