在后面的代码中添加gridview列

时间:2011-02-15 20:36:11

标签: asp.net

我正在使用C#中的gridview,我需要动态添加一列。 我需要在后面的代码中实现以下标记,

   <headertemplate>                          
    <a href="javascript:var popup = window.open('Pop.aspx? param=myParameter','Pop','width=200,height=200');">
     <asp:Label ID="Label1" runat="server" Text="ColumnName" 
      ToolTip="Click here for more information"></asp:Label>
       </a>
   </headertemplate>
<Itemtemplate>
....

列中有下划线,用户可以单击以打开弹出窗口。

感谢。

0 个答案:

没有答案