开发者

Add gridview column in code behind

I am working on gridview in C# and I need t开发者_运维问答o add a column dynamically. I need to achieve the following mark up in the code behind,

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

The column has underline where user can click to open a popup.

Thanks.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜