日期:2014-05-17  浏览次数:20466 次

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">