首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > asp.net >

a标签联接

2012-08-30 
a标签连接C# codetrthcolspan6 a href# onclickWindowShow(%#ERCPreRentCarList.aspx?app

a标签连接

C# code
                           <tr>                                <th  colspan="6" >                                                                          <a href="#" onclick="WindowShow(<%#"'ERCPreRentCarList.aspx?applyId=" + applyID +" ',770,275"%>);return false">                                        <asp:Button ID="btnTurn" runat="server" Text="转单"/></a>                                                                  </th>                            </tr>


提示 请检查以下 URL 并确保其拼写正确。 
我这是在页面上
我在GridView中是可以的 指教 为什么啊。。

[解决办法]
不在gridview里面,那么在哪个数据控件里面?
<%# %>这样的写法是数据绑定用的
[解决办法]
要不是绑定,写
<a href="#" onclick="WindowShow('ERCPreRentCarList.aspx?applyId=<%=applyID %>',770,275);return false">

热点排行