2
4

2 回答 2

0
<a href='<%# Eval("Default2.aspx?id={0}","scid")'><asp:Image .../></a>
于 2012-12-05T11:48:28.070 回答
0

使用 javascript..

<input type = "hidden" id = "hid" value = "101" />
<a id = "lnk" href = "Mypage.aspx">Click</a>


<script type = "text/javascript">
$("#lnk").live("click", function () {
window.location =  $(this).href +'?Id=' + $("#hid").val();
});
</script>
于 2012-12-05T12:00:27.840 回答