2
4

2 に答える 2

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 に答える
0
<a href='<%# Eval("Default2.aspx?id={0}","scid")'><asp:Image .../></a>
于 2012-12-05T11:48:28.070 に答える