0

I want to select some specific columns from my grid using checkbox. So, can anyone give me suggestion that how can i do that?.
Any help would be appreciated!

2

2 Answers 2

0

You can simply use the templatefield inside the gridview for placing controls .

    <asp:GridView ID="familygrid" runat="server" AutoGenerateColumns="False" >
         <Columns>
             <asp:TemplateField>
                   <ItemTemplate>
                        <asp:CheckBox ID="check_id" runat="server" />
                   </ItemTemplate>
            </asp:TemplateField>
         </Columns>
    </asp:GridView>
Sign up to request clarification or add additional context in comments.

Comments

0

Refer this link u will get some idea to implement Checkbox in aspgridview

http://www.aspsnippets.com/Articles/GridView-with-CheckBox-Get-Selected-Rows-in-ASPNet.aspx

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.