在网格视图列vb.net中添加复选框 [英] Add checkbox in grid view column vb.net

查看:78
本文介绍了在网格视图列vb.net中添加复选框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在列

推荐答案

亲爱的朋友,

往这边走:-

Dear Friend,

Go this way:-

<asp:gridview id="GridView1" runat="server" autogeneratecolumns="False" >
        <columns>
                <asp:templatefield>
                        <headertemplate>
                                <asp:checkbox id="chkSelectAll" runat="server" text="Select All" autopostback="True"" />
                        </headertemplate>
                        <itemtemplate>
                                <asp:checkbox id="chkSelect" runat="server" />
                        </itemtemplate>
                </asp:templatefield>
        </columns>
</asp:gridview>



希望对您有所帮助.

谢谢



I hope this will help you out.

Thanks


这篇关于在网格视图列vb.net中添加复选框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆