DridView中 弹出自定义的详细窗口

来源:互联网 发布:mac下面图标怎么隐藏 编辑:程序博客网 时间:2024/05/21 04:43

使用模板列:

<asp:TemplateField>
<ItemTemplate>
<A href="#" style="color:Blue" onclick="javascript:varwin=window.open('Cargo_Order_Detail.aspx?ID={0}','null','width=470,height=500,top=100,left=200','scrollbars');window.Close();"><%#Eval("code")%></a>
</ItemTemplate>
</asp:TemplateField>

<%#Eval("code")%>表示绑定的数据字段