Results 1 to 2 of 2

Thread: Checkbox in Datagrid

  1. #1
    Junior Member
    Join Date
    Dec 2007
    Answers
    2

    Checkbox in Datagrid

    Hi,

    Am trying to add a checkbox in a datagrid.That datagrid is already filled with the help of a data set .

    Is it possible to add a checkbox in every row of a datagrid?

    If YESs, just send me the solution.

    Thanks in advance...


  2. #2
    Contributing Member
    Join Date
    Jun 2007
    Answers
    65

    Re: Checkbox in Datagrid

    Hi,

    For this the best way is to
    1. Set AutoGenerateColumns proeprty of DataGrid to false
    2. Create DateBound columns manually that u want to pupulate from dataset
    3. Create an ItemTemplate coulumn and add checkbox in it.

    If u want a working solution / tutorial u can go through
    codeproject . com/KB/webforms/datagridcheckbox . aspx
    Adding Checkbox to DataGrid


    ---V V---
    Vikas Vaidya

    [Pls Mark this post as Thank if u find it useful]


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact